Drizzled Public API Documentation

table.pb.cc
00001 // Generated by the protocol buffer compiler.  DO NOT EDIT!
00002 
00003 #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
00004 #include "table.pb.h"
00005 
00006 #include <algorithm>
00007 
00008 #include <google/protobuf/stubs/once.h>
00009 #include <google/protobuf/io/coded_stream.h>
00010 #include <google/protobuf/wire_format_lite_inl.h>
00011 #include <google/protobuf/descriptor.h>
00012 #include <google/protobuf/reflection_ops.h>
00013 #include <google/protobuf/wire_format.h>
00014 // @@protoc_insertion_point(includes)
00015 
00016 namespace drizzled {
00017 namespace message {
00018 
00019 namespace {
00020 
00021 const ::google::protobuf::Descriptor* Table_descriptor_ = NULL;
00022 const ::google::protobuf::internal::GeneratedMessageReflection*
00023   Table_reflection_ = NULL;
00024 const ::google::protobuf::Descriptor* Table_TableOptions_descriptor_ = NULL;
00025 const ::google::protobuf::internal::GeneratedMessageReflection*
00026   Table_TableOptions_reflection_ = NULL;
00027 const ::google::protobuf::Descriptor* Table_ForeignKeyConstraint_descriptor_ = NULL;
00028 const ::google::protobuf::internal::GeneratedMessageReflection*
00029   Table_ForeignKeyConstraint_reflection_ = NULL;
00030 const ::google::protobuf::EnumDescriptor* Table_ForeignKeyConstraint_ForeignKeyMatchOption_descriptor_ = NULL;
00031 const ::google::protobuf::EnumDescriptor* Table_ForeignKeyConstraint_ForeignKeyOption_descriptor_ = NULL;
00032 const ::google::protobuf::Descriptor* Table_Field_descriptor_ = NULL;
00033 const ::google::protobuf::internal::GeneratedMessageReflection*
00034   Table_Field_reflection_ = NULL;
00035 const ::google::protobuf::Descriptor* Table_Field_FieldOptions_descriptor_ = NULL;
00036 const ::google::protobuf::internal::GeneratedMessageReflection*
00037   Table_Field_FieldOptions_reflection_ = NULL;
00038 const ::google::protobuf::Descriptor* Table_Field_FieldConstraints_descriptor_ = NULL;
00039 const ::google::protobuf::internal::GeneratedMessageReflection*
00040   Table_Field_FieldConstraints_reflection_ = NULL;
00041 const ::google::protobuf::Descriptor* Table_Field_NumericFieldOptions_descriptor_ = NULL;
00042 const ::google::protobuf::internal::GeneratedMessageReflection*
00043   Table_Field_NumericFieldOptions_reflection_ = NULL;
00044 const ::google::protobuf::Descriptor* Table_Field_StringFieldOptions_descriptor_ = NULL;
00045 const ::google::protobuf::internal::GeneratedMessageReflection*
00046   Table_Field_StringFieldOptions_reflection_ = NULL;
00047 const ::google::protobuf::Descriptor* Table_Field_EnumerationValues_descriptor_ = NULL;
00048 const ::google::protobuf::internal::GeneratedMessageReflection*
00049   Table_Field_EnumerationValues_reflection_ = NULL;
00050 const ::google::protobuf::Descriptor* Table_Field_TimeFieldOptions_descriptor_ = NULL;
00051 const ::google::protobuf::internal::GeneratedMessageReflection*
00052   Table_Field_TimeFieldOptions_reflection_ = NULL;
00053 const ::google::protobuf::EnumDescriptor* Table_Field_FieldType_descriptor_ = NULL;
00054 const ::google::protobuf::Descriptor* Table_Index_descriptor_ = NULL;
00055 const ::google::protobuf::internal::GeneratedMessageReflection*
00056   Table_Index_reflection_ = NULL;
00057 const ::google::protobuf::Descriptor* Table_Index_IndexPart_descriptor_ = NULL;
00058 const ::google::protobuf::internal::GeneratedMessageReflection*
00059   Table_Index_IndexPart_reflection_ = NULL;
00060 const ::google::protobuf::Descriptor* Table_Index_Options_descriptor_ = NULL;
00061 const ::google::protobuf::internal::GeneratedMessageReflection*
00062   Table_Index_Options_reflection_ = NULL;
00063 const ::google::protobuf::EnumDescriptor* Table_Index_IndexType_descriptor_ = NULL;
00064 const ::google::protobuf::EnumDescriptor* Table_TableType_descriptor_ = NULL;
00065 const ::google::protobuf::Descriptor* AddedFields_descriptor_ = NULL;
00066 const ::google::protobuf::internal::GeneratedMessageReflection*
00067   AddedFields_reflection_ = NULL;
00068 
00069 }  // namespace
00070 
00071 
00072 void protobuf_AssignDesc_table_2eproto() {
00073   protobuf_AddDesc_table_2eproto();
00074   const ::google::protobuf::FileDescriptor* file =
00075     ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
00076       "table.proto");
00077   GOOGLE_CHECK(file != NULL);
00078   Table_descriptor_ = file->message_type(0);
00079   static const int Table_offsets_[15] = {
00080     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table, name_),
00081     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table, schema_),
00082     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table, type_),
00083     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table, engine_),
00084     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table, field_),
00085     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table, indexes_),
00086     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table, fk_constraint_),
00087     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table, options_),
00088     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table, creation_timestamp_),
00089     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table, update_timestamp_),
00090     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table, catalog_),
00091     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table, uuid_),
00092     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table, version_),
00093     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table, replication_options_),
00094     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table, access_),
00095   };
00096   Table_reflection_ =
00097     new ::google::protobuf::internal::GeneratedMessageReflection(
00098       Table_descriptor_,
00099       Table::default_instance_,
00100       Table_offsets_,
00101       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table, _has_bits_[0]),
00102       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table, _unknown_fields_),
00103       -1,
00104       ::google::protobuf::DescriptorPool::generated_pool(),
00105       ::google::protobuf::MessageFactory::generated_factory(),
00106       sizeof(Table));
00107   Table_TableOptions_descriptor_ = Table_descriptor_->nested_type(0);
00108   static const int Table_TableOptions_offsets_[16] = {
00109     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_TableOptions, has_user_set_auto_increment_value_),
00110     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_TableOptions, collation_),
00111     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_TableOptions, collation_id_),
00112     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_TableOptions, data_file_name_),
00113     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_TableOptions, index_file_name_),
00114     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_TableOptions, max_rows_),
00115     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_TableOptions, min_rows_),
00116     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_TableOptions, auto_increment_value_),
00117     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_TableOptions, avg_row_length_),
00118     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_TableOptions, block_size_),
00119     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_TableOptions, comment_),
00120     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_TableOptions, pack_record_),
00121     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_TableOptions, checksum_),
00122     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_TableOptions, page_checksum_),
00123     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_TableOptions, delay_key_write_),
00124     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_TableOptions, unused_),
00125   };
00126   Table_TableOptions_reflection_ =
00127     new ::google::protobuf::internal::GeneratedMessageReflection(
00128       Table_TableOptions_descriptor_,
00129       Table_TableOptions::default_instance_,
00130       Table_TableOptions_offsets_,
00131       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_TableOptions, _has_bits_[0]),
00132       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_TableOptions, _unknown_fields_),
00133       -1,
00134       ::google::protobuf::DescriptorPool::generated_pool(),
00135       ::google::protobuf::MessageFactory::generated_factory(),
00136       sizeof(Table_TableOptions));
00137   Table_ForeignKeyConstraint_descriptor_ = Table_descriptor_->nested_type(1);
00138   static const int Table_ForeignKeyConstraint_offsets_[7] = {
00139     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_ForeignKeyConstraint, name_),
00140     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_ForeignKeyConstraint, column_names_),
00141     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_ForeignKeyConstraint, references_table_name_),
00142     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_ForeignKeyConstraint, references_columns_),
00143     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_ForeignKeyConstraint, match_),
00144     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_ForeignKeyConstraint, update_option_),
00145     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_ForeignKeyConstraint, delete_option_),
00146   };
00147   Table_ForeignKeyConstraint_reflection_ =
00148     new ::google::protobuf::internal::GeneratedMessageReflection(
00149       Table_ForeignKeyConstraint_descriptor_,
00150       Table_ForeignKeyConstraint::default_instance_,
00151       Table_ForeignKeyConstraint_offsets_,
00152       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_ForeignKeyConstraint, _has_bits_[0]),
00153       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_ForeignKeyConstraint, _unknown_fields_),
00154       -1,
00155       ::google::protobuf::DescriptorPool::generated_pool(),
00156       ::google::protobuf::MessageFactory::generated_factory(),
00157       sizeof(Table_ForeignKeyConstraint));
00158   Table_ForeignKeyConstraint_ForeignKeyMatchOption_descriptor_ = Table_ForeignKeyConstraint_descriptor_->enum_type(0);
00159   Table_ForeignKeyConstraint_ForeignKeyOption_descriptor_ = Table_ForeignKeyConstraint_descriptor_->enum_type(1);
00160   Table_Field_descriptor_ = Table_descriptor_->nested_type(2);
00161   static const int Table_Field_offsets_[9] = {
00162     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field, name_),
00163     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field, type_),
00164     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field, options_),
00165     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field, constraints_),
00166     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field, numeric_options_),
00167     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field, string_options_),
00168     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field, time_options_),
00169     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field, comment_),
00170     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field, enumeration_values_),
00171   };
00172   Table_Field_reflection_ =
00173     new ::google::protobuf::internal::GeneratedMessageReflection(
00174       Table_Field_descriptor_,
00175       Table_Field::default_instance_,
00176       Table_Field_offsets_,
00177       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field, _has_bits_[0]),
00178       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field, _unknown_fields_),
00179       -1,
00180       ::google::protobuf::DescriptorPool::generated_pool(),
00181       ::google::protobuf::MessageFactory::generated_factory(),
00182       sizeof(Table_Field));
00183   Table_Field_FieldOptions_descriptor_ = Table_Field_descriptor_->nested_type(0);
00184   static const int Table_Field_FieldOptions_offsets_[6] = {
00185     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_FieldOptions, default_value_),
00186     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_FieldOptions, update_value_),
00187     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_FieldOptions, default_null_),
00188     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_FieldOptions, default_bin_value_),
00189     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_FieldOptions, default_expression_),
00190     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_FieldOptions, update_expression_),
00191   };
00192   Table_Field_FieldOptions_reflection_ =
00193     new ::google::protobuf::internal::GeneratedMessageReflection(
00194       Table_Field_FieldOptions_descriptor_,
00195       Table_Field_FieldOptions::default_instance_,
00196       Table_Field_FieldOptions_offsets_,
00197       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_FieldOptions, _has_bits_[0]),
00198       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_FieldOptions, _unknown_fields_),
00199       -1,
00200       ::google::protobuf::DescriptorPool::generated_pool(),
00201       ::google::protobuf::MessageFactory::generated_factory(),
00202       sizeof(Table_Field_FieldOptions));
00203   Table_Field_FieldConstraints_descriptor_ = Table_Field_descriptor_->nested_type(1);
00204   static const int Table_Field_FieldConstraints_offsets_[5] = {
00205     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_FieldConstraints, is_nullable_),
00206     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_FieldConstraints, is_unsigned_),
00207     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_FieldConstraints, is_notnull_),
00208     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_FieldConstraints, is_unique_),
00209     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_FieldConstraints, expression_),
00210   };
00211   Table_Field_FieldConstraints_reflection_ =
00212     new ::google::protobuf::internal::GeneratedMessageReflection(
00213       Table_Field_FieldConstraints_descriptor_,
00214       Table_Field_FieldConstraints::default_instance_,
00215       Table_Field_FieldConstraints_offsets_,
00216       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_FieldConstraints, _has_bits_[0]),
00217       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_FieldConstraints, _unknown_fields_),
00218       -1,
00219       ::google::protobuf::DescriptorPool::generated_pool(),
00220       ::google::protobuf::MessageFactory::generated_factory(),
00221       sizeof(Table_Field_FieldConstraints));
00222   Table_Field_NumericFieldOptions_descriptor_ = Table_Field_descriptor_->nested_type(2);
00223   static const int Table_Field_NumericFieldOptions_offsets_[3] = {
00224     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_NumericFieldOptions, is_autoincrement_),
00225     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_NumericFieldOptions, scale_),
00226     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_NumericFieldOptions, precision_),
00227   };
00228   Table_Field_NumericFieldOptions_reflection_ =
00229     new ::google::protobuf::internal::GeneratedMessageReflection(
00230       Table_Field_NumericFieldOptions_descriptor_,
00231       Table_Field_NumericFieldOptions::default_instance_,
00232       Table_Field_NumericFieldOptions_offsets_,
00233       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_NumericFieldOptions, _has_bits_[0]),
00234       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_NumericFieldOptions, _unknown_fields_),
00235       -1,
00236       ::google::protobuf::DescriptorPool::generated_pool(),
00237       ::google::protobuf::MessageFactory::generated_factory(),
00238       sizeof(Table_Field_NumericFieldOptions));
00239   Table_Field_StringFieldOptions_descriptor_ = Table_Field_descriptor_->nested_type(3);
00240   static const int Table_Field_StringFieldOptions_offsets_[4] = {
00241     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_StringFieldOptions, is_fixed_width_),
00242     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_StringFieldOptions, length_),
00243     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_StringFieldOptions, collation_id_),
00244     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_StringFieldOptions, collation_),
00245   };
00246   Table_Field_StringFieldOptions_reflection_ =
00247     new ::google::protobuf::internal::GeneratedMessageReflection(
00248       Table_Field_StringFieldOptions_descriptor_,
00249       Table_Field_StringFieldOptions::default_instance_,
00250       Table_Field_StringFieldOptions_offsets_,
00251       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_StringFieldOptions, _has_bits_[0]),
00252       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_StringFieldOptions, _unknown_fields_),
00253       -1,
00254       ::google::protobuf::DescriptorPool::generated_pool(),
00255       ::google::protobuf::MessageFactory::generated_factory(),
00256       sizeof(Table_Field_StringFieldOptions));
00257   Table_Field_EnumerationValues_descriptor_ = Table_Field_descriptor_->nested_type(4);
00258   static const int Table_Field_EnumerationValues_offsets_[3] = {
00259     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_EnumerationValues, collation_id_),
00260     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_EnumerationValues, collation_),
00261     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_EnumerationValues, field_value_),
00262   };
00263   Table_Field_EnumerationValues_reflection_ =
00264     new ::google::protobuf::internal::GeneratedMessageReflection(
00265       Table_Field_EnumerationValues_descriptor_,
00266       Table_Field_EnumerationValues::default_instance_,
00267       Table_Field_EnumerationValues_offsets_,
00268       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_EnumerationValues, _has_bits_[0]),
00269       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_EnumerationValues, _unknown_fields_),
00270       -1,
00271       ::google::protobuf::DescriptorPool::generated_pool(),
00272       ::google::protobuf::MessageFactory::generated_factory(),
00273       sizeof(Table_Field_EnumerationValues));
00274   Table_Field_TimeFieldOptions_descriptor_ = Table_Field_descriptor_->nested_type(5);
00275   static const int Table_Field_TimeFieldOptions_offsets_[1] = {
00276     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_TimeFieldOptions, microseconds_),
00277   };
00278   Table_Field_TimeFieldOptions_reflection_ =
00279     new ::google::protobuf::internal::GeneratedMessageReflection(
00280       Table_Field_TimeFieldOptions_descriptor_,
00281       Table_Field_TimeFieldOptions::default_instance_,
00282       Table_Field_TimeFieldOptions_offsets_,
00283       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_TimeFieldOptions, _has_bits_[0]),
00284       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Field_TimeFieldOptions, _unknown_fields_),
00285       -1,
00286       ::google::protobuf::DescriptorPool::generated_pool(),
00287       ::google::protobuf::MessageFactory::generated_factory(),
00288       sizeof(Table_Field_TimeFieldOptions));
00289   Table_Field_FieldType_descriptor_ = Table_Field_descriptor_->enum_type(0);
00290   Table_Index_descriptor_ = Table_descriptor_->nested_type(3);
00291   static const int Table_Index_offsets_[8] = {
00292     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Index, name_),
00293     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Index, is_primary_),
00294     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Index, is_unique_),
00295     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Index, type_),
00296     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Index, key_length_),
00297     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Index, index_part_),
00298     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Index, options_),
00299     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Index, comment_),
00300   };
00301   Table_Index_reflection_ =
00302     new ::google::protobuf::internal::GeneratedMessageReflection(
00303       Table_Index_descriptor_,
00304       Table_Index::default_instance_,
00305       Table_Index_offsets_,
00306       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Index, _has_bits_[0]),
00307       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Index, _unknown_fields_),
00308       -1,
00309       ::google::protobuf::DescriptorPool::generated_pool(),
00310       ::google::protobuf::MessageFactory::generated_factory(),
00311       sizeof(Table_Index));
00312   Table_Index_IndexPart_descriptor_ = Table_Index_descriptor_->nested_type(0);
00313   static const int Table_Index_IndexPart_offsets_[3] = {
00314     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Index_IndexPart, fieldnr_),
00315     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Index_IndexPart, compare_length_),
00316     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Index_IndexPart, in_reverse_order_),
00317   };
00318   Table_Index_IndexPart_reflection_ =
00319     new ::google::protobuf::internal::GeneratedMessageReflection(
00320       Table_Index_IndexPart_descriptor_,
00321       Table_Index_IndexPart::default_instance_,
00322       Table_Index_IndexPart_offsets_,
00323       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Index_IndexPart, _has_bits_[0]),
00324       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Index_IndexPart, _unknown_fields_),
00325       -1,
00326       ::google::protobuf::DescriptorPool::generated_pool(),
00327       ::google::protobuf::MessageFactory::generated_factory(),
00328       sizeof(Table_Index_IndexPart));
00329   Table_Index_Options_descriptor_ = Table_Index_descriptor_->nested_type(1);
00330   static const int Table_Index_Options_offsets_[7] = {
00331     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Index_Options, pack_key_),
00332     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Index_Options, binary_pack_key_),
00333     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Index_Options, var_length_key_),
00334     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Index_Options, null_part_key_),
00335     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Index_Options, key_block_size_),
00336     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Index_Options, has_partial_segments_),
00337     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Index_Options, auto_generated_key_),
00338   };
00339   Table_Index_Options_reflection_ =
00340     new ::google::protobuf::internal::GeneratedMessageReflection(
00341       Table_Index_Options_descriptor_,
00342       Table_Index_Options::default_instance_,
00343       Table_Index_Options_offsets_,
00344       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Index_Options, _has_bits_[0]),
00345       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Table_Index_Options, _unknown_fields_),
00346       -1,
00347       ::google::protobuf::DescriptorPool::generated_pool(),
00348       ::google::protobuf::MessageFactory::generated_factory(),
00349       sizeof(Table_Index_Options));
00350   Table_Index_IndexType_descriptor_ = Table_Index_descriptor_->enum_type(0);
00351   Table_TableType_descriptor_ = Table_descriptor_->enum_type(0);
00352   AddedFields_descriptor_ = file->message_type(1);
00353   static const int AddedFields_offsets_[1] = {
00354     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddedFields, added_field_),
00355   };
00356   AddedFields_reflection_ =
00357     new ::google::protobuf::internal::GeneratedMessageReflection(
00358       AddedFields_descriptor_,
00359       AddedFields::default_instance_,
00360       AddedFields_offsets_,
00361       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddedFields, _has_bits_[0]),
00362       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddedFields, _unknown_fields_),
00363       -1,
00364       ::google::protobuf::DescriptorPool::generated_pool(),
00365       ::google::protobuf::MessageFactory::generated_factory(),
00366       sizeof(AddedFields));
00367 }
00368 
00369 namespace {
00370 
00371 GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
00372 inline void protobuf_AssignDescriptorsOnce() {
00373   ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
00374                  &protobuf_AssignDesc_table_2eproto);
00375 }
00376 
00377 void protobuf_RegisterTypes(const ::std::string&) {
00378   protobuf_AssignDescriptorsOnce();
00379   ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
00380     Table_descriptor_, &Table::default_instance());
00381   ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
00382     Table_TableOptions_descriptor_, &Table_TableOptions::default_instance());
00383   ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
00384     Table_ForeignKeyConstraint_descriptor_, &Table_ForeignKeyConstraint::default_instance());
00385   ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
00386     Table_Field_descriptor_, &Table_Field::default_instance());
00387   ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
00388     Table_Field_FieldOptions_descriptor_, &Table_Field_FieldOptions::default_instance());
00389   ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
00390     Table_Field_FieldConstraints_descriptor_, &Table_Field_FieldConstraints::default_instance());
00391   ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
00392     Table_Field_NumericFieldOptions_descriptor_, &Table_Field_NumericFieldOptions::default_instance());
00393   ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
00394     Table_Field_StringFieldOptions_descriptor_, &Table_Field_StringFieldOptions::default_instance());
00395   ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
00396     Table_Field_EnumerationValues_descriptor_, &Table_Field_EnumerationValues::default_instance());
00397   ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
00398     Table_Field_TimeFieldOptions_descriptor_, &Table_Field_TimeFieldOptions::default_instance());
00399   ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
00400     Table_Index_descriptor_, &Table_Index::default_instance());
00401   ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
00402     Table_Index_IndexPart_descriptor_, &Table_Index_IndexPart::default_instance());
00403   ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
00404     Table_Index_Options_descriptor_, &Table_Index_Options::default_instance());
00405   ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
00406     AddedFields_descriptor_, &AddedFields::default_instance());
00407 }
00408 
00409 }  // namespace
00410 
00411 void protobuf_ShutdownFile_table_2eproto() {
00412   delete Table::default_instance_;
00413   delete Table_reflection_;
00414   delete Table_TableOptions::default_instance_;
00415   delete Table_TableOptions_reflection_;
00416   delete Table_ForeignKeyConstraint::default_instance_;
00417   delete Table_ForeignKeyConstraint_reflection_;
00418   delete Table_Field::default_instance_;
00419   delete Table_Field_reflection_;
00420   delete Table_Field_FieldOptions::default_instance_;
00421   delete Table_Field_FieldOptions_reflection_;
00422   delete Table_Field_FieldConstraints::default_instance_;
00423   delete Table_Field_FieldConstraints_reflection_;
00424   delete Table_Field_NumericFieldOptions::default_instance_;
00425   delete Table_Field_NumericFieldOptions_reflection_;
00426   delete Table_Field_StringFieldOptions::default_instance_;
00427   delete Table_Field_StringFieldOptions_reflection_;
00428   delete Table_Field_EnumerationValues::default_instance_;
00429   delete Table_Field_EnumerationValues_reflection_;
00430   delete Table_Field_TimeFieldOptions::default_instance_;
00431   delete Table_Field_TimeFieldOptions_reflection_;
00432   delete Table_Index::default_instance_;
00433   delete Table_Index_reflection_;
00434   delete Table_Index_IndexPart::default_instance_;
00435   delete Table_Index_IndexPart_reflection_;
00436   delete Table_Index_Options::default_instance_;
00437   delete Table_Index_Options_reflection_;
00438   delete AddedFields::default_instance_;
00439   delete AddedFields_reflection_;
00440 }
00441 
00442 void protobuf_AddDesc_table_2eproto() {
00443   static bool already_here = false;
00444   if (already_here) return;
00445   already_here = true;
00446   GOOGLE_PROTOBUF_VERIFY_VERSION;
00447 
00448   ::drizzled::message::protobuf_AddDesc_engine_2eproto();
00449   ::drizzled::message::protobuf_AddDesc_access_2eproto();
00450   ::drizzled::message::protobuf_AddDesc_replication_5foptions_2eproto();
00451   ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
00452     "\n\013table.proto\022\020drizzled.message\032\014engine."
00453     "proto\032\014access.proto\032\031replication_options"
00454     ".proto\"\273\034\n\005Table\022\014\n\004name\030\001 \002(\t\022\016\n\006schema"
00455     "\030\006 \002(\t\022/\n\004type\030\005 \002(\0162!.drizzled.message."
00456     "Table.TableType\022(\n\006engine\030\002 \002(\0132\030.drizzl"
00457     "ed.message.Engine\022,\n\005field\030\003 \003(\0132\035.drizz"
00458     "led.message.Table.Field\022.\n\007indexes\030\004 \003(\013"
00459     "2\035.drizzled.message.Table.Index\022C\n\rfk_co"
00460     "nstraint\030\010 \003(\0132,.drizzled.message.Table."
00461     "ForeignKeyConstraint\0225\n\007options\030\t \001(\0132$."
00462     "drizzled.message.Table.TableOptions\022\035\n\022c"
00463     "reation_timestamp\030\013 \002(\004:\0010\022\033\n\020update_tim"
00464     "estamp\030\014 \002(\004:\0010\022\017\n\007catalog\030\r \001(\t\022\014\n\004uuid"
00465     "\030\016 \001(\t\022\017\n\007version\030\017 \001(\004\022A\n\023replication_o"
00466     "ptions\030\020 \001(\0132$.drizzled.message.Replicat"
00467     "ionOptions\022(\n\006access\030\021 \001(\0132\030.drizzled.me"
00468     "ssage.Access\032\371\002\n\014TableOptions\022)\n!has_use"
00469     "r_set_auto_increment_value\030\001 \001(\010\022\021\n\tcoll"
00470     "ation\030\002 \001(\t\022\024\n\014collation_id\030\003 \001(\r\022\026\n\016dat"
00471     "a_file_name\030\005 \001(\t\022\027\n\017index_file_name\030\006 \001"
00472     "(\t\022\020\n\010max_rows\030\007 \001(\004\022\020\n\010min_rows\030\010 \001(\004\022\034"
00473     "\n\024auto_increment_value\030\t \001(\004\022\026\n\016avg_row_"
00474     "length\030\013 \001(\r\022\022\n\nblock_size\030\r \001(\r\022\017\n\007comm"
00475     "ent\030\016 \001(\t\022\023\n\013pack_record\030\020 \001(\010\022\020\n\010checks"
00476     "um\030\021 \001(\010\022\025\n\rpage_checksum\030\022 \001(\010\022\027\n\017delay"
00477     "_key_write\030\023 \001(\010\022\016\n\006unused\030\024 \001(\010\032\206\005\n\024For"
00478     "eignKeyConstraint\022\014\n\004name\030\001 \001(\t\022\024\n\014colum"
00479     "n_names\030\002 \003(\t\022\035\n\025references_table_name\030\003"
00480     " \002(\t\022\032\n\022references_columns\030\004 \003(\t\022Q\n\005matc"
00481     "h\030\005 \002(\0162B.drizzled.message.Table.Foreign"
00482     "KeyConstraint.ForeignKeyMatchOption\022b\n\ru"
00483     "pdate_option\030\006 \002(\0162=.drizzled.message.Ta"
00484     "ble.ForeignKeyConstraint.ForeignKeyOptio"
00485     "n:\014OPTION_UNDEF\022b\n\rdelete_option\030\007 \002(\0162="
00486     ".drizzled.message.Table.ForeignKeyConstr"
00487     "aint.ForeignKeyOption:\014OPTION_UNDEF\"a\n\025F"
00488     "oreignKeyMatchOption\022\023\n\017MATCH_UNDEFINED\020"
00489     "\000\022\016\n\nMATCH_FULL\020\001\022\021\n\rMATCH_PARTIAL\020\002\022\020\n\014"
00490     "MATCH_SIMPLE\020\003\"\220\001\n\020ForeignKeyOption\022\020\n\014O"
00491     "PTION_UNDEF\020\000\022\023\n\017OPTION_RESTRICT\020\001\022\022\n\016OP"
00492     "TION_CASCADE\020\002\022\023\n\017OPTION_SET_NULL\020\003\022\024\n\020O"
00493     "PTION_NO_ACTION\020\004\022\026\n\022OPTION_SET_DEFAULT\020"
00494     "\005\032\276\n\n\005Field\022\014\n\004name\030\001 \002(\t\0225\n\004type\030\002 \002(\0162"
00495     "\'.drizzled.message.Table.Field.FieldType"
00496     "\022;\n\007options\030\004 \001(\0132*.drizzled.message.Tab"
00497     "le.Field.FieldOptions\022C\n\013constraints\030\005 \001"
00498     "(\0132..drizzled.message.Table.Field.FieldC"
00499     "onstraints\022J\n\017numeric_options\030\006 \001(\01321.dr"
00500     "izzled.message.Table.Field.NumericFieldO"
00501     "ptions\022H\n\016string_options\030\007 \001(\01320.drizzle"
00502     "d.message.Table.Field.StringFieldOptions"
00503     "\022D\n\014time_options\030\010 \001(\0132..drizzled.messag"
00504     "e.Table.Field.TimeFieldOptions\022\017\n\007commen"
00505     "t\030\020 \001(\t\022K\n\022enumeration_values\030\021 \001(\0132/.dr"
00506     "izzled.message.Table.Field.EnumerationVa"
00507     "lues\032\252\001\n\014FieldOptions\022\025\n\rdefault_value\030\001"
00508     " \001(\t\022\024\n\014update_value\030\002 \001(\t\022\033\n\014default_nu"
00509     "ll\030\003 \001(\010:\005false\022\031\n\021default_bin_value\030\004 \001"
00510     "(\014\022\032\n\022default_expression\030\005 \001(\t\022\031\n\021update"
00511     "_expression\030\006 \001(\t\032\222\001\n\020FieldConstraints\022\031"
00512     "\n\013is_nullable\030\001 \001(\010:\004true\022\032\n\013is_unsigned"
00513     "\030\002 \001(\010:\005false\022\031\n\nis_notnull\030\003 \001(\010:\005false"
00514     "\022\030\n\tis_unique\030\004 \001(\010:\005false\022\022\n\nexpression"
00515     "\030\020 \003(\t\032X\n\023NumericFieldOptions\022\037\n\020is_auto"
00516     "increment\030\001 \001(\010:\005false\022\r\n\005scale\030\002 \001(\r\022\021\n"
00517     "\tprecision\030\003 \001(\r\032l\n\022StringFieldOptions\022\035"
00518     "\n\016is_fixed_width\030\001 \001(\010:\005false\022\016\n\006length\030"
00519     "\002 \001(\r\022\024\n\014collation_id\030\003 \001(\r\022\021\n\tcollation"
00520     "\030\004 \001(\t\032Q\n\021EnumerationValues\022\024\n\014collation"
00521     "_id\030\002 \001(\r\022\021\n\tcollation\030\003 \001(\t\022\023\n\013field_va"
00522     "lue\030\004 \003(\t\032(\n\020TimeFieldOptions\022\024\n\014microse"
00523     "conds\030\001 \001(\010\"\254\001\n\tFieldType\022\n\n\006DOUBLE\020\000\022\013\n"
00524     "\007VARCHAR\020\001\022\010\n\004BLOB\020\002\022\010\n\004ENUM\020\003\022\013\n\007INTEGE"
00525     "R\020\004\022\n\n\006BIGINT\020\005\022\013\n\007DECIMAL\020\006\022\010\n\004DATE\020\007\022\t"
00526     "\n\005EPOCH\020\t\022\014\n\010DATETIME\020\n\022\010\n\004UUID\020\013\022\010\n\004TIM"
00527     "E\020\014\022\013\n\007BOOLEAN\020\r\022\010\n\004IPV6\020\016\032\371\004\n\005Index\022\014\n\004"
00528     "name\030\001 \002(\t\022\022\n\nis_primary\030\002 \002(\010\022\021\n\tis_uni"
00529     "que\030\003 \002(\010\022D\n\004type\030\004 \002(\0162\'.drizzled.messa"
00530     "ge.Table.Index.IndexType:\rUNKNOWN_INDEX\022"
00531     "\022\n\nkey_length\030\005 \002(\r\022;\n\nindex_part\030\006 \003(\0132"
00532     "\'.drizzled.message.Table.Index.IndexPart"
00533     "\0226\n\007options\030\007 \001(\0132%.drizzled.message.Tab"
00534     "le.Index.Options\022\017\n\007comment\030\010 \001(\t\032U\n\tInd"
00535     "exPart\022\017\n\007fieldnr\030\001 \002(\r\022\026\n\016compare_lengt"
00536     "h\030\002 \001(\r\022\037\n\020in_reverse_order\030\003 \001(\010:\005false"
00537     "\032\265\001\n\007Options\022\020\n\010pack_key\030\001 \001(\010\022\027\n\017binary"
00538     "_pack_key\030\002 \001(\010\022\026\n\016var_length_key\030\003 \001(\010\022"
00539     "\025\n\rnull_part_key\030\004 \001(\010\022\026\n\016key_block_size"
00540     "\030\005 \001(\r\022\034\n\024has_partial_segments\030\006 \001(\010\022\032\n\022"
00541     "auto_generated_key\030\007 \001(\010\"L\n\tIndexType\022\021\n"
00542     "\rUNKNOWN_INDEX\020\000\022\t\n\005BTREE\020\001\022\t\n\005RTREE\020\002\022\010"
00543     "\n\004HASH\020\003\022\014\n\010FULLTEXT\020\004\"D\n\tTableType\022\014\n\010S"
00544     "TANDARD\020\000\022\r\n\tTEMPORARY\020\001\022\014\n\010INTERNAL\020\002\022\014"
00545     "\n\010FUNCTION\020\003\"A\n\013AddedFields\0222\n\013added_fie"
00546     "ld\030\001 \003(\0132\035.drizzled.message.Table.FieldB"
00547     "&\n\024org.drizzle.messagesB\014TableMessageH\001", 3839);
00548   ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
00549     "table.proto", &protobuf_RegisterTypes);
00550   Table::default_instance_ = new Table();
00551   Table_TableOptions::default_instance_ = new Table_TableOptions();
00552   Table_ForeignKeyConstraint::default_instance_ = new Table_ForeignKeyConstraint();
00553   Table_Field::default_instance_ = new Table_Field();
00554   Table_Field_FieldOptions::default_instance_ = new Table_Field_FieldOptions();
00555   Table_Field_FieldConstraints::default_instance_ = new Table_Field_FieldConstraints();
00556   Table_Field_NumericFieldOptions::default_instance_ = new Table_Field_NumericFieldOptions();
00557   Table_Field_StringFieldOptions::default_instance_ = new Table_Field_StringFieldOptions();
00558   Table_Field_EnumerationValues::default_instance_ = new Table_Field_EnumerationValues();
00559   Table_Field_TimeFieldOptions::default_instance_ = new Table_Field_TimeFieldOptions();
00560   Table_Index::default_instance_ = new Table_Index();
00561   Table_Index_IndexPart::default_instance_ = new Table_Index_IndexPart();
00562   Table_Index_Options::default_instance_ = new Table_Index_Options();
00563   AddedFields::default_instance_ = new AddedFields();
00564   Table::default_instance_->InitAsDefaultInstance();
00565   Table_TableOptions::default_instance_->InitAsDefaultInstance();
00566   Table_ForeignKeyConstraint::default_instance_->InitAsDefaultInstance();
00567   Table_Field::default_instance_->InitAsDefaultInstance();
00568   Table_Field_FieldOptions::default_instance_->InitAsDefaultInstance();
00569   Table_Field_FieldConstraints::default_instance_->InitAsDefaultInstance();
00570   Table_Field_NumericFieldOptions::default_instance_->InitAsDefaultInstance();
00571   Table_Field_StringFieldOptions::default_instance_->InitAsDefaultInstance();
00572   Table_Field_EnumerationValues::default_instance_->InitAsDefaultInstance();
00573   Table_Field_TimeFieldOptions::default_instance_->InitAsDefaultInstance();
00574   Table_Index::default_instance_->InitAsDefaultInstance();
00575   Table_Index_IndexPart::default_instance_->InitAsDefaultInstance();
00576   Table_Index_Options::default_instance_->InitAsDefaultInstance();
00577   AddedFields::default_instance_->InitAsDefaultInstance();
00578   ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_table_2eproto);
00579 }
00580 
00581 // Force AddDescriptors() to be called at static initialization time.
00582 struct StaticDescriptorInitializer_table_2eproto {
00583   StaticDescriptorInitializer_table_2eproto() {
00584     protobuf_AddDesc_table_2eproto();
00585   }
00586 } static_descriptor_initializer_table_2eproto_;
00587 
00588 
00589 // ===================================================================
00590 
00591 const ::google::protobuf::EnumDescriptor* Table_TableType_descriptor() {
00592   protobuf_AssignDescriptorsOnce();
00593   return Table_TableType_descriptor_;
00594 }
00595 bool Table_TableType_IsValid(int value) {
00596   switch(value) {
00597     case 0:
00598     case 1:
00599     case 2:
00600     case 3:
00601       return true;
00602     default:
00603       return false;
00604   }
00605 }
00606 
00607 #ifndef _MSC_VER
00608 const Table_TableType Table::STANDARD;
00609 const Table_TableType Table::TEMPORARY;
00610 const Table_TableType Table::INTERNAL;
00611 const Table_TableType Table::FUNCTION;
00612 const Table_TableType Table::TableType_MIN;
00613 const Table_TableType Table::TableType_MAX;
00614 const int Table::TableType_ARRAYSIZE;
00615 #endif  // _MSC_VER
00616 #ifndef _MSC_VER
00617 const int Table_TableOptions::kHasUserSetAutoIncrementValueFieldNumber;
00618 const int Table_TableOptions::kCollationFieldNumber;
00619 const int Table_TableOptions::kCollationIdFieldNumber;
00620 const int Table_TableOptions::kDataFileNameFieldNumber;
00621 const int Table_TableOptions::kIndexFileNameFieldNumber;
00622 const int Table_TableOptions::kMaxRowsFieldNumber;
00623 const int Table_TableOptions::kMinRowsFieldNumber;
00624 const int Table_TableOptions::kAutoIncrementValueFieldNumber;
00625 const int Table_TableOptions::kAvgRowLengthFieldNumber;
00626 const int Table_TableOptions::kBlockSizeFieldNumber;
00627 const int Table_TableOptions::kCommentFieldNumber;
00628 const int Table_TableOptions::kPackRecordFieldNumber;
00629 const int Table_TableOptions::kChecksumFieldNumber;
00630 const int Table_TableOptions::kPageChecksumFieldNumber;
00631 const int Table_TableOptions::kDelayKeyWriteFieldNumber;
00632 const int Table_TableOptions::kUnusedFieldNumber;
00633 #endif  // !_MSC_VER
00634 
00635 Table_TableOptions::Table_TableOptions()
00636   : ::google::protobuf::Message() {
00637   SharedCtor();
00638 }
00639 
00640 void Table_TableOptions::InitAsDefaultInstance() {
00641 }
00642 
00643 Table_TableOptions::Table_TableOptions(const Table_TableOptions& from)
00644   : ::google::protobuf::Message() {
00645   SharedCtor();
00646   MergeFrom(from);
00647 }
00648 
00649 void Table_TableOptions::SharedCtor() {
00650   _cached_size_ = 0;
00651   has_user_set_auto_increment_value_ = false;
00652   collation_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
00653   collation_id_ = 0u;
00654   data_file_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
00655   index_file_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
00656   max_rows_ = GOOGLE_ULONGLONG(0);
00657   min_rows_ = GOOGLE_ULONGLONG(0);
00658   auto_increment_value_ = GOOGLE_ULONGLONG(0);
00659   avg_row_length_ = 0u;
00660   block_size_ = 0u;
00661   comment_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
00662   pack_record_ = false;
00663   checksum_ = false;
00664   page_checksum_ = false;
00665   delay_key_write_ = false;
00666   unused_ = false;
00667   ::memset(_has_bits_, 0, sizeof(_has_bits_));
00668 }
00669 
00670 Table_TableOptions::~Table_TableOptions() {
00671   SharedDtor();
00672 }
00673 
00674 void Table_TableOptions::SharedDtor() {
00675   if (collation_ != &::google::protobuf::internal::kEmptyString) {
00676     delete collation_;
00677   }
00678   if (data_file_name_ != &::google::protobuf::internal::kEmptyString) {
00679     delete data_file_name_;
00680   }
00681   if (index_file_name_ != &::google::protobuf::internal::kEmptyString) {
00682     delete index_file_name_;
00683   }
00684   if (comment_ != &::google::protobuf::internal::kEmptyString) {
00685     delete comment_;
00686   }
00687   if (this != default_instance_) {
00688   }
00689 }
00690 
00691 void Table_TableOptions::SetCachedSize(int size) const {
00692   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
00693   _cached_size_ = size;
00694   GOOGLE_SAFE_CONCURRENT_WRITES_END();
00695 }
00696 const ::google::protobuf::Descriptor* Table_TableOptions::descriptor() {
00697   protobuf_AssignDescriptorsOnce();
00698   return Table_TableOptions_descriptor_;
00699 }
00700 
00701 const Table_TableOptions& Table_TableOptions::default_instance() {
00702   if (default_instance_ == NULL) protobuf_AddDesc_table_2eproto();  return *default_instance_;
00703 }
00704 
00705 Table_TableOptions* Table_TableOptions::default_instance_ = NULL;
00706 
00707 Table_TableOptions* Table_TableOptions::New() const {
00708   return new Table_TableOptions;
00709 }
00710 
00711 void Table_TableOptions::Clear() {
00712   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
00713     has_user_set_auto_increment_value_ = false;
00714     if (has_collation()) {
00715       if (collation_ != &::google::protobuf::internal::kEmptyString) {
00716         collation_->clear();
00717       }
00718     }
00719     collation_id_ = 0u;
00720     if (has_data_file_name()) {
00721       if (data_file_name_ != &::google::protobuf::internal::kEmptyString) {
00722         data_file_name_->clear();
00723       }
00724     }
00725     if (has_index_file_name()) {
00726       if (index_file_name_ != &::google::protobuf::internal::kEmptyString) {
00727         index_file_name_->clear();
00728       }
00729     }
00730     max_rows_ = GOOGLE_ULONGLONG(0);
00731     min_rows_ = GOOGLE_ULONGLONG(0);
00732     auto_increment_value_ = GOOGLE_ULONGLONG(0);
00733   }
00734   if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
00735     avg_row_length_ = 0u;
00736     block_size_ = 0u;
00737     if (has_comment()) {
00738       if (comment_ != &::google::protobuf::internal::kEmptyString) {
00739         comment_->clear();
00740       }
00741     }
00742     pack_record_ = false;
00743     checksum_ = false;
00744     page_checksum_ = false;
00745     delay_key_write_ = false;
00746     unused_ = false;
00747   }
00748   ::memset(_has_bits_, 0, sizeof(_has_bits_));
00749   mutable_unknown_fields()->Clear();
00750 }
00751 
00752 bool Table_TableOptions::MergePartialFromCodedStream(
00753     ::google::protobuf::io::CodedInputStream* input) {
00754 #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
00755   ::google::protobuf::uint32 tag;
00756   while ((tag = input->ReadTag()) != 0) {
00757     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
00758       // optional bool has_user_set_auto_increment_value = 1;
00759       case 1: {
00760         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
00761             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
00762           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
00763                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
00764                  input, &has_user_set_auto_increment_value_)));
00765           set_has_has_user_set_auto_increment_value();
00766         } else {
00767           goto handle_uninterpreted;
00768         }
00769         if (input->ExpectTag(18)) goto parse_collation;
00770         break;
00771       }
00772       
00773       // optional string collation = 2;
00774       case 2: {
00775         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
00776             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
00777          parse_collation:
00778           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
00779                 input, this->mutable_collation()));
00780           ::google::protobuf::internal::WireFormat::VerifyUTF8String(
00781             this->collation().data(), this->collation().length(),
00782             ::google::protobuf::internal::WireFormat::PARSE);
00783         } else {
00784           goto handle_uninterpreted;
00785         }
00786         if (input->ExpectTag(24)) goto parse_collation_id;
00787         break;
00788       }
00789       
00790       // optional uint32 collation_id = 3;
00791       case 3: {
00792         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
00793             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
00794          parse_collation_id:
00795           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
00796                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
00797                  input, &collation_id_)));
00798           set_has_collation_id();
00799         } else {
00800           goto handle_uninterpreted;
00801         }
00802         if (input->ExpectTag(42)) goto parse_data_file_name;
00803         break;
00804       }
00805       
00806       // optional string data_file_name = 5;
00807       case 5: {
00808         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
00809             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
00810          parse_data_file_name:
00811           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
00812                 input, this->mutable_data_file_name()));
00813           ::google::protobuf::internal::WireFormat::VerifyUTF8String(
00814             this->data_file_name().data(), this->data_file_name().length(),
00815             ::google::protobuf::internal::WireFormat::PARSE);
00816         } else {
00817           goto handle_uninterpreted;
00818         }
00819         if (input->ExpectTag(50)) goto parse_index_file_name;
00820         break;
00821       }
00822       
00823       // optional string index_file_name = 6;
00824       case 6: {
00825         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
00826             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
00827          parse_index_file_name:
00828           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
00829                 input, this->mutable_index_file_name()));
00830           ::google::protobuf::internal::WireFormat::VerifyUTF8String(
00831             this->index_file_name().data(), this->index_file_name().length(),
00832             ::google::protobuf::internal::WireFormat::PARSE);
00833         } else {
00834           goto handle_uninterpreted;
00835         }
00836         if (input->ExpectTag(56)) goto parse_max_rows;
00837         break;
00838       }
00839       
00840       // optional uint64 max_rows = 7;
00841       case 7: {
00842         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
00843             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
00844          parse_max_rows:
00845           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
00846                    ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
00847                  input, &max_rows_)));
00848           set_has_max_rows();
00849         } else {
00850           goto handle_uninterpreted;
00851         }
00852         if (input->ExpectTag(64)) goto parse_min_rows;
00853         break;
00854       }
00855       
00856       // optional uint64 min_rows = 8;
00857       case 8: {
00858         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
00859             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
00860          parse_min_rows:
00861           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
00862                    ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
00863                  input, &min_rows_)));
00864           set_has_min_rows();
00865         } else {
00866           goto handle_uninterpreted;
00867         }
00868         if (input->ExpectTag(72)) goto parse_auto_increment_value;
00869         break;
00870       }
00871       
00872       // optional uint64 auto_increment_value = 9;
00873       case 9: {
00874         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
00875             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
00876          parse_auto_increment_value:
00877           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
00878                    ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
00879                  input, &auto_increment_value_)));
00880           set_has_auto_increment_value();
00881         } else {
00882           goto handle_uninterpreted;
00883         }
00884         if (input->ExpectTag(88)) goto parse_avg_row_length;
00885         break;
00886       }
00887       
00888       // optional uint32 avg_row_length = 11;
00889       case 11: {
00890         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
00891             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
00892          parse_avg_row_length:
00893           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
00894                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
00895                  input, &avg_row_length_)));
00896           set_has_avg_row_length();
00897         } else {
00898           goto handle_uninterpreted;
00899         }
00900         if (input->ExpectTag(104)) goto parse_block_size;
00901         break;
00902       }
00903       
00904       // optional uint32 block_size = 13;
00905       case 13: {
00906         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
00907             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
00908          parse_block_size:
00909           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
00910                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
00911                  input, &block_size_)));
00912           set_has_block_size();
00913         } else {
00914           goto handle_uninterpreted;
00915         }
00916         if (input->ExpectTag(114)) goto parse_comment;
00917         break;
00918       }
00919       
00920       // optional string comment = 14;
00921       case 14: {
00922         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
00923             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
00924          parse_comment:
00925           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
00926                 input, this->mutable_comment()));
00927           ::google::protobuf::internal::WireFormat::VerifyUTF8String(
00928             this->comment().data(), this->comment().length(),
00929             ::google::protobuf::internal::WireFormat::PARSE);
00930         } else {
00931           goto handle_uninterpreted;
00932         }
00933         if (input->ExpectTag(128)) goto parse_pack_record;
00934         break;
00935       }
00936       
00937       // optional bool pack_record = 16;
00938       case 16: {
00939         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
00940             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
00941          parse_pack_record:
00942           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
00943                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
00944                  input, &pack_record_)));
00945           set_has_pack_record();
00946         } else {
00947           goto handle_uninterpreted;
00948         }
00949         if (input->ExpectTag(136)) goto parse_checksum;
00950         break;
00951       }
00952       
00953       // optional bool checksum = 17;
00954       case 17: {
00955         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
00956             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
00957          parse_checksum:
00958           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
00959                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
00960                  input, &checksum_)));
00961           set_has_checksum();
00962         } else {
00963           goto handle_uninterpreted;
00964         }
00965         if (input->ExpectTag(144)) goto parse_page_checksum;
00966         break;
00967       }
00968       
00969       // optional bool page_checksum = 18;
00970       case 18: {
00971         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
00972             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
00973          parse_page_checksum:
00974           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
00975                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
00976                  input, &page_checksum_)));
00977           set_has_page_checksum();
00978         } else {
00979           goto handle_uninterpreted;
00980         }
00981         if (input->ExpectTag(152)) goto parse_delay_key_write;
00982         break;
00983       }
00984       
00985       // optional bool delay_key_write = 19;
00986       case 19: {
00987         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
00988             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
00989          parse_delay_key_write:
00990           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
00991                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
00992                  input, &delay_key_write_)));
00993           set_has_delay_key_write();
00994         } else {
00995           goto handle_uninterpreted;
00996         }
00997         if (input->ExpectTag(160)) goto parse_unused;
00998         break;
00999       }
01000       
01001       // optional bool unused = 20;
01002       case 20: {
01003         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
01004             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
01005          parse_unused:
01006           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
01007                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
01008                  input, &unused_)));
01009           set_has_unused();
01010         } else {
01011           goto handle_uninterpreted;
01012         }
01013         if (input->ExpectAtEnd()) return true;
01014         break;
01015       }
01016       
01017       default: {
01018       handle_uninterpreted:
01019         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
01020             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
01021           return true;
01022         }
01023         DO_(::google::protobuf::internal::WireFormat::SkipField(
01024               input, tag, mutable_unknown_fields()));
01025         break;
01026       }
01027     }
01028   }
01029   return true;
01030 #undef DO_
01031 }
01032 
01033 void Table_TableOptions::SerializeWithCachedSizes(
01034     ::google::protobuf::io::CodedOutputStream* output) const {
01035   // optional bool has_user_set_auto_increment_value = 1;
01036   if (has_has_user_set_auto_increment_value()) {
01037     ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->has_user_set_auto_increment_value(), output);
01038   }
01039   
01040   // optional string collation = 2;
01041   if (has_collation()) {
01042     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
01043       this->collation().data(), this->collation().length(),
01044       ::google::protobuf::internal::WireFormat::SERIALIZE);
01045     ::google::protobuf::internal::WireFormatLite::WriteString(
01046       2, this->collation(), output);
01047   }
01048   
01049   // optional uint32 collation_id = 3;
01050   if (has_collation_id()) {
01051     ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->collation_id(), output);
01052   }
01053   
01054   // optional string data_file_name = 5;
01055   if (has_data_file_name()) {
01056     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
01057       this->data_file_name().data(), this->data_file_name().length(),
01058       ::google::protobuf::internal::WireFormat::SERIALIZE);
01059     ::google::protobuf::internal::WireFormatLite::WriteString(
01060       5, this->data_file_name(), output);
01061   }
01062   
01063   // optional string index_file_name = 6;
01064   if (has_index_file_name()) {
01065     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
01066       this->index_file_name().data(), this->index_file_name().length(),
01067       ::google::protobuf::internal::WireFormat::SERIALIZE);
01068     ::google::protobuf::internal::WireFormatLite::WriteString(
01069       6, this->index_file_name(), output);
01070   }
01071   
01072   // optional uint64 max_rows = 7;
01073   if (has_max_rows()) {
01074     ::google::protobuf::internal::WireFormatLite::WriteUInt64(7, this->max_rows(), output);
01075   }
01076   
01077   // optional uint64 min_rows = 8;
01078   if (has_min_rows()) {
01079     ::google::protobuf::internal::WireFormatLite::WriteUInt64(8, this->min_rows(), output);
01080   }
01081   
01082   // optional uint64 auto_increment_value = 9;
01083   if (has_auto_increment_value()) {
01084     ::google::protobuf::internal::WireFormatLite::WriteUInt64(9, this->auto_increment_value(), output);
01085   }
01086   
01087   // optional uint32 avg_row_length = 11;
01088   if (has_avg_row_length()) {
01089     ::google::protobuf::internal::WireFormatLite::WriteUInt32(11, this->avg_row_length(), output);
01090   }
01091   
01092   // optional uint32 block_size = 13;
01093   if (has_block_size()) {
01094     ::google::protobuf::internal::WireFormatLite::WriteUInt32(13, this->block_size(), output);
01095   }
01096   
01097   // optional string comment = 14;
01098   if (has_comment()) {
01099     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
01100       this->comment().data(), this->comment().length(),
01101       ::google::protobuf::internal::WireFormat::SERIALIZE);
01102     ::google::protobuf::internal::WireFormatLite::WriteString(
01103       14, this->comment(), output);
01104   }
01105   
01106   // optional bool pack_record = 16;
01107   if (has_pack_record()) {
01108     ::google::protobuf::internal::WireFormatLite::WriteBool(16, this->pack_record(), output);
01109   }
01110   
01111   // optional bool checksum = 17;
01112   if (has_checksum()) {
01113     ::google::protobuf::internal::WireFormatLite::WriteBool(17, this->checksum(), output);
01114   }
01115   
01116   // optional bool page_checksum = 18;
01117   if (has_page_checksum()) {
01118     ::google::protobuf::internal::WireFormatLite::WriteBool(18, this->page_checksum(), output);
01119   }
01120   
01121   // optional bool delay_key_write = 19;
01122   if (has_delay_key_write()) {
01123     ::google::protobuf::internal::WireFormatLite::WriteBool(19, this->delay_key_write(), output);
01124   }
01125   
01126   // optional bool unused = 20;
01127   if (has_unused()) {
01128     ::google::protobuf::internal::WireFormatLite::WriteBool(20, this->unused(), output);
01129   }
01130   
01131   if (!unknown_fields().empty()) {
01132     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
01133         unknown_fields(), output);
01134   }
01135 }
01136 
01137 ::google::protobuf::uint8* Table_TableOptions::SerializeWithCachedSizesToArray(
01138     ::google::protobuf::uint8* target) const {
01139   // optional bool has_user_set_auto_increment_value = 1;
01140   if (has_has_user_set_auto_increment_value()) {
01141     target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->has_user_set_auto_increment_value(), target);
01142   }
01143   
01144   // optional string collation = 2;
01145   if (has_collation()) {
01146     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
01147       this->collation().data(), this->collation().length(),
01148       ::google::protobuf::internal::WireFormat::SERIALIZE);
01149     target =
01150       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
01151         2, this->collation(), target);
01152   }
01153   
01154   // optional uint32 collation_id = 3;
01155   if (has_collation_id()) {
01156     target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->collation_id(), target);
01157   }
01158   
01159   // optional string data_file_name = 5;
01160   if (has_data_file_name()) {
01161     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
01162       this->data_file_name().data(), this->data_file_name().length(),
01163       ::google::protobuf::internal::WireFormat::SERIALIZE);
01164     target =
01165       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
01166         5, this->data_file_name(), target);
01167   }
01168   
01169   // optional string index_file_name = 6;
01170   if (has_index_file_name()) {
01171     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
01172       this->index_file_name().data(), this->index_file_name().length(),
01173       ::google::protobuf::internal::WireFormat::SERIALIZE);
01174     target =
01175       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
01176         6, this->index_file_name(), target);
01177   }
01178   
01179   // optional uint64 max_rows = 7;
01180   if (has_max_rows()) {
01181     target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(7, this->max_rows(), target);
01182   }
01183   
01184   // optional uint64 min_rows = 8;
01185   if (has_min_rows()) {
01186     target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(8, this->min_rows(), target);
01187   }
01188   
01189   // optional uint64 auto_increment_value = 9;
01190   if (has_auto_increment_value()) {
01191     target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(9, this->auto_increment_value(), target);
01192   }
01193   
01194   // optional uint32 avg_row_length = 11;
01195   if (has_avg_row_length()) {
01196     target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(11, this->avg_row_length(), target);
01197   }
01198   
01199   // optional uint32 block_size = 13;
01200   if (has_block_size()) {
01201     target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(13, this->block_size(), target);
01202   }
01203   
01204   // optional string comment = 14;
01205   if (has_comment()) {
01206     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
01207       this->comment().data(), this->comment().length(),
01208       ::google::protobuf::internal::WireFormat::SERIALIZE);
01209     target =
01210       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
01211         14, this->comment(), target);
01212   }
01213   
01214   // optional bool pack_record = 16;
01215   if (has_pack_record()) {
01216     target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(16, this->pack_record(), target);
01217   }
01218   
01219   // optional bool checksum = 17;
01220   if (has_checksum()) {
01221     target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(17, this->checksum(), target);
01222   }
01223   
01224   // optional bool page_checksum = 18;
01225   if (has_page_checksum()) {
01226     target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(18, this->page_checksum(), target);
01227   }
01228   
01229   // optional bool delay_key_write = 19;
01230   if (has_delay_key_write()) {
01231     target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(19, this->delay_key_write(), target);
01232   }
01233   
01234   // optional bool unused = 20;
01235   if (has_unused()) {
01236     target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(20, this->unused(), target);
01237   }
01238   
01239   if (!unknown_fields().empty()) {
01240     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
01241         unknown_fields(), target);
01242   }
01243   return target;
01244 }
01245 
01246 int Table_TableOptions::ByteSize() const {
01247   int total_size = 0;
01248   
01249   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
01250     // optional bool has_user_set_auto_increment_value = 1;
01251     if (has_has_user_set_auto_increment_value()) {
01252       total_size += 1 + 1;
01253     }
01254     
01255     // optional string collation = 2;
01256     if (has_collation()) {
01257       total_size += 1 +
01258         ::google::protobuf::internal::WireFormatLite::StringSize(
01259           this->collation());
01260     }
01261     
01262     // optional uint32 collation_id = 3;
01263     if (has_collation_id()) {
01264       total_size += 1 +
01265         ::google::protobuf::internal::WireFormatLite::UInt32Size(
01266           this->collation_id());
01267     }
01268     
01269     // optional string data_file_name = 5;
01270     if (has_data_file_name()) {
01271       total_size += 1 +
01272         ::google::protobuf::internal::WireFormatLite::StringSize(
01273           this->data_file_name());
01274     }
01275     
01276     // optional string index_file_name = 6;
01277     if (has_index_file_name()) {
01278       total_size += 1 +
01279         ::google::protobuf::internal::WireFormatLite::StringSize(
01280           this->index_file_name());
01281     }
01282     
01283     // optional uint64 max_rows = 7;
01284     if (has_max_rows()) {
01285       total_size += 1 +
01286         ::google::protobuf::internal::WireFormatLite::UInt64Size(
01287           this->max_rows());
01288     }
01289     
01290     // optional uint64 min_rows = 8;
01291     if (has_min_rows()) {
01292       total_size += 1 +
01293         ::google::protobuf::internal::WireFormatLite::UInt64Size(
01294           this->min_rows());
01295     }
01296     
01297     // optional uint64 auto_increment_value = 9;
01298     if (has_auto_increment_value()) {
01299       total_size += 1 +
01300         ::google::protobuf::internal::WireFormatLite::UInt64Size(
01301           this->auto_increment_value());
01302     }
01303     
01304   }
01305   if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
01306     // optional uint32 avg_row_length = 11;
01307     if (has_avg_row_length()) {
01308       total_size += 1 +
01309         ::google::protobuf::internal::WireFormatLite::UInt32Size(
01310           this->avg_row_length());
01311     }
01312     
01313     // optional uint32 block_size = 13;
01314     if (has_block_size()) {
01315       total_size += 1 +
01316         ::google::protobuf::internal::WireFormatLite::UInt32Size(
01317           this->block_size());
01318     }
01319     
01320     // optional string comment = 14;
01321     if (has_comment()) {
01322       total_size += 1 +
01323         ::google::protobuf::internal::WireFormatLite::StringSize(
01324           this->comment());
01325     }
01326     
01327     // optional bool pack_record = 16;
01328     if (has_pack_record()) {
01329       total_size += 2 + 1;
01330     }
01331     
01332     // optional bool checksum = 17;
01333     if (has_checksum()) {
01334       total_size += 2 + 1;
01335     }
01336     
01337     // optional bool page_checksum = 18;
01338     if (has_page_checksum()) {
01339       total_size += 2 + 1;
01340     }
01341     
01342     // optional bool delay_key_write = 19;
01343     if (has_delay_key_write()) {
01344       total_size += 2 + 1;
01345     }
01346     
01347     // optional bool unused = 20;
01348     if (has_unused()) {
01349       total_size += 2 + 1;
01350     }
01351     
01352   }
01353   if (!unknown_fields().empty()) {
01354     total_size +=
01355       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
01356         unknown_fields());
01357   }
01358   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
01359   _cached_size_ = total_size;
01360   GOOGLE_SAFE_CONCURRENT_WRITES_END();
01361   return total_size;
01362 }
01363 
01364 void Table_TableOptions::MergeFrom(const ::google::protobuf::Message& from) {
01365   GOOGLE_CHECK_NE(&from, this);
01366   const Table_TableOptions* source =
01367     ::google::protobuf::internal::dynamic_cast_if_available<const Table_TableOptions*>(
01368       &from);
01369   if (source == NULL) {
01370     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
01371   } else {
01372     MergeFrom(*source);
01373   }
01374 }
01375 
01376 void Table_TableOptions::MergeFrom(const Table_TableOptions& from) {
01377   GOOGLE_CHECK_NE(&from, this);
01378   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
01379     if (from.has_has_user_set_auto_increment_value()) {
01380       set_has_user_set_auto_increment_value(from.has_user_set_auto_increment_value());
01381     }
01382     if (from.has_collation()) {
01383       set_collation(from.collation());
01384     }
01385     if (from.has_collation_id()) {
01386       set_collation_id(from.collation_id());
01387     }
01388     if (from.has_data_file_name()) {
01389       set_data_file_name(from.data_file_name());
01390     }
01391     if (from.has_index_file_name()) {
01392       set_index_file_name(from.index_file_name());
01393     }
01394     if (from.has_max_rows()) {
01395       set_max_rows(from.max_rows());
01396     }
01397     if (from.has_min_rows()) {
01398       set_min_rows(from.min_rows());
01399     }
01400     if (from.has_auto_increment_value()) {
01401       set_auto_increment_value(from.auto_increment_value());
01402     }
01403   }
01404   if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
01405     if (from.has_avg_row_length()) {
01406       set_avg_row_length(from.avg_row_length());
01407     }
01408     if (from.has_block_size()) {
01409       set_block_size(from.block_size());
01410     }
01411     if (from.has_comment()) {
01412       set_comment(from.comment());
01413     }
01414     if (from.has_pack_record()) {
01415       set_pack_record(from.pack_record());
01416     }
01417     if (from.has_checksum()) {
01418       set_checksum(from.checksum());
01419     }
01420     if (from.has_page_checksum()) {
01421       set_page_checksum(from.page_checksum());
01422     }
01423     if (from.has_delay_key_write()) {
01424       set_delay_key_write(from.delay_key_write());
01425     }
01426     if (from.has_unused()) {
01427       set_unused(from.unused());
01428     }
01429   }
01430   mutable_unknown_fields()->MergeFrom(from.unknown_fields());
01431 }
01432 
01433 void Table_TableOptions::CopyFrom(const ::google::protobuf::Message& from) {
01434   if (&from == this) return;
01435   Clear();
01436   MergeFrom(from);
01437 }
01438 
01439 void Table_TableOptions::CopyFrom(const Table_TableOptions& from) {
01440   if (&from == this) return;
01441   Clear();
01442   MergeFrom(from);
01443 }
01444 
01445 bool Table_TableOptions::IsInitialized() const {
01446   
01447   return true;
01448 }
01449 
01450 void Table_TableOptions::Swap(Table_TableOptions* other) {
01451   if (other != this) {
01452     std::swap(has_user_set_auto_increment_value_, other->has_user_set_auto_increment_value_);
01453     std::swap(collation_, other->collation_);
01454     std::swap(collation_id_, other->collation_id_);
01455     std::swap(data_file_name_, other->data_file_name_);
01456     std::swap(index_file_name_, other->index_file_name_);
01457     std::swap(max_rows_, other->max_rows_);
01458     std::swap(min_rows_, other->min_rows_);
01459     std::swap(auto_increment_value_, other->auto_increment_value_);
01460     std::swap(avg_row_length_, other->avg_row_length_);
01461     std::swap(block_size_, other->block_size_);
01462     std::swap(comment_, other->comment_);
01463     std::swap(pack_record_, other->pack_record_);
01464     std::swap(checksum_, other->checksum_);
01465     std::swap(page_checksum_, other->page_checksum_);
01466     std::swap(delay_key_write_, other->delay_key_write_);
01467     std::swap(unused_, other->unused_);
01468     std::swap(_has_bits_[0], other->_has_bits_[0]);
01469     _unknown_fields_.Swap(&other->_unknown_fields_);
01470     std::swap(_cached_size_, other->_cached_size_);
01471   }
01472 }
01473 
01474 ::google::protobuf::Metadata Table_TableOptions::GetMetadata() const {
01475   protobuf_AssignDescriptorsOnce();
01476   ::google::protobuf::Metadata metadata;
01477   metadata.descriptor = Table_TableOptions_descriptor_;
01478   metadata.reflection = Table_TableOptions_reflection_;
01479   return metadata;
01480 }
01481 
01482 
01483 // -------------------------------------------------------------------
01484 
01485 const ::google::protobuf::EnumDescriptor* Table_ForeignKeyConstraint_ForeignKeyMatchOption_descriptor() {
01486   protobuf_AssignDescriptorsOnce();
01487   return Table_ForeignKeyConstraint_ForeignKeyMatchOption_descriptor_;
01488 }
01489 bool Table_ForeignKeyConstraint_ForeignKeyMatchOption_IsValid(int value) {
01490   switch(value) {
01491     case 0:
01492     case 1:
01493     case 2:
01494     case 3:
01495       return true;
01496     default:
01497       return false;
01498   }
01499 }
01500 
01501 #ifndef _MSC_VER
01502 const Table_ForeignKeyConstraint_ForeignKeyMatchOption Table_ForeignKeyConstraint::MATCH_UNDEFINED;
01503 const Table_ForeignKeyConstraint_ForeignKeyMatchOption Table_ForeignKeyConstraint::MATCH_FULL;
01504 const Table_ForeignKeyConstraint_ForeignKeyMatchOption Table_ForeignKeyConstraint::MATCH_PARTIAL;
01505 const Table_ForeignKeyConstraint_ForeignKeyMatchOption Table_ForeignKeyConstraint::MATCH_SIMPLE;
01506 const Table_ForeignKeyConstraint_ForeignKeyMatchOption Table_ForeignKeyConstraint::ForeignKeyMatchOption_MIN;
01507 const Table_ForeignKeyConstraint_ForeignKeyMatchOption Table_ForeignKeyConstraint::ForeignKeyMatchOption_MAX;
01508 const int Table_ForeignKeyConstraint::ForeignKeyMatchOption_ARRAYSIZE;
01509 #endif  // _MSC_VER
01510 const ::google::protobuf::EnumDescriptor* Table_ForeignKeyConstraint_ForeignKeyOption_descriptor() {
01511   protobuf_AssignDescriptorsOnce();
01512   return Table_ForeignKeyConstraint_ForeignKeyOption_descriptor_;
01513 }
01514 bool Table_ForeignKeyConstraint_ForeignKeyOption_IsValid(int value) {
01515   switch(value) {
01516     case 0:
01517     case 1:
01518     case 2:
01519     case 3:
01520     case 4:
01521     case 5:
01522       return true;
01523     default:
01524       return false;
01525   }
01526 }
01527 
01528 #ifndef _MSC_VER
01529 const Table_ForeignKeyConstraint_ForeignKeyOption Table_ForeignKeyConstraint::OPTION_UNDEF;
01530 const Table_ForeignKeyConstraint_ForeignKeyOption Table_ForeignKeyConstraint::OPTION_RESTRICT;
01531 const Table_ForeignKeyConstraint_ForeignKeyOption Table_ForeignKeyConstraint::OPTION_CASCADE;
01532 const Table_ForeignKeyConstraint_ForeignKeyOption Table_ForeignKeyConstraint::OPTION_SET_NULL;
01533 const Table_ForeignKeyConstraint_ForeignKeyOption Table_ForeignKeyConstraint::OPTION_NO_ACTION;
01534 const Table_ForeignKeyConstraint_ForeignKeyOption Table_ForeignKeyConstraint::OPTION_SET_DEFAULT;
01535 const Table_ForeignKeyConstraint_ForeignKeyOption Table_ForeignKeyConstraint::ForeignKeyOption_MIN;
01536 const Table_ForeignKeyConstraint_ForeignKeyOption Table_ForeignKeyConstraint::ForeignKeyOption_MAX;
01537 const int Table_ForeignKeyConstraint::ForeignKeyOption_ARRAYSIZE;
01538 #endif  // _MSC_VER
01539 #ifndef _MSC_VER
01540 const int Table_ForeignKeyConstraint::kNameFieldNumber;
01541 const int Table_ForeignKeyConstraint::kColumnNamesFieldNumber;
01542 const int Table_ForeignKeyConstraint::kReferencesTableNameFieldNumber;
01543 const int Table_ForeignKeyConstraint::kReferencesColumnsFieldNumber;
01544 const int Table_ForeignKeyConstraint::kMatchFieldNumber;
01545 const int Table_ForeignKeyConstraint::kUpdateOptionFieldNumber;
01546 const int Table_ForeignKeyConstraint::kDeleteOptionFieldNumber;
01547 #endif  // !_MSC_VER
01548 
01549 Table_ForeignKeyConstraint::Table_ForeignKeyConstraint()
01550   : ::google::protobuf::Message() {
01551   SharedCtor();
01552 }
01553 
01554 void Table_ForeignKeyConstraint::InitAsDefaultInstance() {
01555 }
01556 
01557 Table_ForeignKeyConstraint::Table_ForeignKeyConstraint(const Table_ForeignKeyConstraint& from)
01558   : ::google::protobuf::Message() {
01559   SharedCtor();
01560   MergeFrom(from);
01561 }
01562 
01563 void Table_ForeignKeyConstraint::SharedCtor() {
01564   _cached_size_ = 0;
01565   name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
01566   references_table_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
01567   match_ = 0;
01568   update_option_ = 0;
01569   delete_option_ = 0;
01570   ::memset(_has_bits_, 0, sizeof(_has_bits_));
01571 }
01572 
01573 Table_ForeignKeyConstraint::~Table_ForeignKeyConstraint() {
01574   SharedDtor();
01575 }
01576 
01577 void Table_ForeignKeyConstraint::SharedDtor() {
01578   if (name_ != &::google::protobuf::internal::kEmptyString) {
01579     delete name_;
01580   }
01581   if (references_table_name_ != &::google::protobuf::internal::kEmptyString) {
01582     delete references_table_name_;
01583   }
01584   if (this != default_instance_) {
01585   }
01586 }
01587 
01588 void Table_ForeignKeyConstraint::SetCachedSize(int size) const {
01589   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
01590   _cached_size_ = size;
01591   GOOGLE_SAFE_CONCURRENT_WRITES_END();
01592 }
01593 const ::google::protobuf::Descriptor* Table_ForeignKeyConstraint::descriptor() {
01594   protobuf_AssignDescriptorsOnce();
01595   return Table_ForeignKeyConstraint_descriptor_;
01596 }
01597 
01598 const Table_ForeignKeyConstraint& Table_ForeignKeyConstraint::default_instance() {
01599   if (default_instance_ == NULL) protobuf_AddDesc_table_2eproto();  return *default_instance_;
01600 }
01601 
01602 Table_ForeignKeyConstraint* Table_ForeignKeyConstraint::default_instance_ = NULL;
01603 
01604 Table_ForeignKeyConstraint* Table_ForeignKeyConstraint::New() const {
01605   return new Table_ForeignKeyConstraint;
01606 }
01607 
01608 void Table_ForeignKeyConstraint::Clear() {
01609   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
01610     if (has_name()) {
01611       if (name_ != &::google::protobuf::internal::kEmptyString) {
01612         name_->clear();
01613       }
01614     }
01615     if (has_references_table_name()) {
01616       if (references_table_name_ != &::google::protobuf::internal::kEmptyString) {
01617         references_table_name_->clear();
01618       }
01619     }
01620     match_ = 0;
01621     update_option_ = 0;
01622     delete_option_ = 0;
01623   }
01624   column_names_.Clear();
01625   references_columns_.Clear();
01626   ::memset(_has_bits_, 0, sizeof(_has_bits_));
01627   mutable_unknown_fields()->Clear();
01628 }
01629 
01630 bool Table_ForeignKeyConstraint::MergePartialFromCodedStream(
01631     ::google::protobuf::io::CodedInputStream* input) {
01632 #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
01633   ::google::protobuf::uint32 tag;
01634   while ((tag = input->ReadTag()) != 0) {
01635     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
01636       // optional string name = 1;
01637       case 1: {
01638         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
01639             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
01640           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
01641                 input, this->mutable_name()));
01642           ::google::protobuf::internal::WireFormat::VerifyUTF8String(
01643             this->name().data(), this->name().length(),
01644             ::google::protobuf::internal::WireFormat::PARSE);
01645         } else {
01646           goto handle_uninterpreted;
01647         }
01648         if (input->ExpectTag(18)) goto parse_column_names;
01649         break;
01650       }
01651       
01652       // repeated string column_names = 2;
01653       case 2: {
01654         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
01655             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
01656          parse_column_names:
01657           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
01658                 input, this->add_column_names()));
01659           ::google::protobuf::internal::WireFormat::VerifyUTF8String(
01660             this->column_names(0).data(), this->column_names(0).length(),
01661             ::google::protobuf::internal::WireFormat::PARSE);
01662         } else {
01663           goto handle_uninterpreted;
01664         }
01665         if (input->ExpectTag(18)) goto parse_column_names;
01666         if (input->ExpectTag(26)) goto parse_references_table_name;
01667         break;
01668       }
01669       
01670       // required string references_table_name = 3;
01671       case 3: {
01672         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
01673             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
01674          parse_references_table_name:
01675           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
01676                 input, this->mutable_references_table_name()));
01677           ::google::protobuf::internal::WireFormat::VerifyUTF8String(
01678             this->references_table_name().data(), this->references_table_name().length(),
01679             ::google::protobuf::internal::WireFormat::PARSE);
01680         } else {
01681           goto handle_uninterpreted;
01682         }
01683         if (input->ExpectTag(34)) goto parse_references_columns;
01684         break;
01685       }
01686       
01687       // repeated string references_columns = 4;
01688       case 4: {
01689         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
01690             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
01691          parse_references_columns:
01692           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
01693                 input, this->add_references_columns()));
01694           ::google::protobuf::internal::WireFormat::VerifyUTF8String(
01695             this->references_columns(0).data(), this->references_columns(0).length(),
01696             ::google::protobuf::internal::WireFormat::PARSE);
01697         } else {
01698           goto handle_uninterpreted;
01699         }
01700         if (input->ExpectTag(34)) goto parse_references_columns;
01701         if (input->ExpectTag(40)) goto parse_match;
01702         break;
01703       }
01704       
01705       // required .drizzled.message.Table.ForeignKeyConstraint.ForeignKeyMatchOption match = 5;
01706       case 5: {
01707         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
01708             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
01709          parse_match:
01710           int value;
01711           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
01712                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
01713                  input, &value)));
01714           if (::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption_IsValid(value)) {
01715             set_match(static_cast< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption >(value));
01716           } else {
01717             mutable_unknown_fields()->AddVarint(5, value);
01718           }
01719         } else {
01720           goto handle_uninterpreted;
01721         }
01722         if (input->ExpectTag(48)) goto parse_update_option;
01723         break;
01724       }
01725       
01726       // required .drizzled.message.Table.ForeignKeyConstraint.ForeignKeyOption update_option = 6 [default = OPTION_UNDEF];
01727       case 6: {
01728         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
01729             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
01730          parse_update_option:
01731           int value;
01732           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
01733                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
01734                  input, &value)));
01735           if (::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption_IsValid(value)) {
01736             set_update_option(static_cast< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption >(value));
01737           } else {
01738             mutable_unknown_fields()->AddVarint(6, value);
01739           }
01740         } else {
01741           goto handle_uninterpreted;
01742         }
01743         if (input->ExpectTag(56)) goto parse_delete_option;
01744         break;
01745       }
01746       
01747       // required .drizzled.message.Table.ForeignKeyConstraint.ForeignKeyOption delete_option = 7 [default = OPTION_UNDEF];
01748       case 7: {
01749         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
01750             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
01751          parse_delete_option:
01752           int value;
01753           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
01754                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
01755                  input, &value)));
01756           if (::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption_IsValid(value)) {
01757             set_delete_option(static_cast< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption >(value));
01758           } else {
01759             mutable_unknown_fields()->AddVarint(7, value);
01760           }
01761         } else {
01762           goto handle_uninterpreted;
01763         }
01764         if (input->ExpectAtEnd()) return true;
01765         break;
01766       }
01767       
01768       default: {
01769       handle_uninterpreted:
01770         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
01771             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
01772           return true;
01773         }
01774         DO_(::google::protobuf::internal::WireFormat::SkipField(
01775               input, tag, mutable_unknown_fields()));
01776         break;
01777       }
01778     }
01779   }
01780   return true;
01781 #undef DO_
01782 }
01783 
01784 void Table_ForeignKeyConstraint::SerializeWithCachedSizes(
01785     ::google::protobuf::io::CodedOutputStream* output) const {
01786   // optional string name = 1;
01787   if (has_name()) {
01788     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
01789       this->name().data(), this->name().length(),
01790       ::google::protobuf::internal::WireFormat::SERIALIZE);
01791     ::google::protobuf::internal::WireFormatLite::WriteString(
01792       1, this->name(), output);
01793   }
01794   
01795   // repeated string column_names = 2;
01796   for (int i = 0; i < this->column_names_size(); i++) {
01797   ::google::protobuf::internal::WireFormat::VerifyUTF8String(
01798     this->column_names(i).data(), this->column_names(i).length(),
01799     ::google::protobuf::internal::WireFormat::SERIALIZE);
01800     ::google::protobuf::internal::WireFormatLite::WriteString(
01801       2, this->column_names(i), output);
01802   }
01803   
01804   // required string references_table_name = 3;
01805   if (has_references_table_name()) {
01806     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
01807       this->references_table_name().data(), this->references_table_name().length(),
01808       ::google::protobuf::internal::WireFormat::SERIALIZE);
01809     ::google::protobuf::internal::WireFormatLite::WriteString(
01810       3, this->references_table_name(), output);
01811   }
01812   
01813   // repeated string references_columns = 4;
01814   for (int i = 0; i < this->references_columns_size(); i++) {
01815   ::google::protobuf::internal::WireFormat::VerifyUTF8String(
01816     this->references_columns(i).data(), this->references_columns(i).length(),
01817     ::google::protobuf::internal::WireFormat::SERIALIZE);
01818     ::google::protobuf::internal::WireFormatLite::WriteString(
01819       4, this->references_columns(i), output);
01820   }
01821   
01822   // required .drizzled.message.Table.ForeignKeyConstraint.ForeignKeyMatchOption match = 5;
01823   if (has_match()) {
01824     ::google::protobuf::internal::WireFormatLite::WriteEnum(
01825       5, this->match(), output);
01826   }
01827   
01828   // required .drizzled.message.Table.ForeignKeyConstraint.ForeignKeyOption update_option = 6 [default = OPTION_UNDEF];
01829   if (has_update_option()) {
01830     ::google::protobuf::internal::WireFormatLite::WriteEnum(
01831       6, this->update_option(), output);
01832   }
01833   
01834   // required .drizzled.message.Table.ForeignKeyConstraint.ForeignKeyOption delete_option = 7 [default = OPTION_UNDEF];
01835   if (has_delete_option()) {
01836     ::google::protobuf::internal::WireFormatLite::WriteEnum(
01837       7, this->delete_option(), output);
01838   }
01839   
01840   if (!unknown_fields().empty()) {
01841     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
01842         unknown_fields(), output);
01843   }
01844 }
01845 
01846 ::google::protobuf::uint8* Table_ForeignKeyConstraint::SerializeWithCachedSizesToArray(
01847     ::google::protobuf::uint8* target) const {
01848   // optional string name = 1;
01849   if (has_name()) {
01850     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
01851       this->name().data(), this->name().length(),
01852       ::google::protobuf::internal::WireFormat::SERIALIZE);
01853     target =
01854       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
01855         1, this->name(), target);
01856   }
01857   
01858   // repeated string column_names = 2;
01859   for (int i = 0; i < this->column_names_size(); i++) {
01860     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
01861       this->column_names(i).data(), this->column_names(i).length(),
01862       ::google::protobuf::internal::WireFormat::SERIALIZE);
01863     target = ::google::protobuf::internal::WireFormatLite::
01864       WriteStringToArray(2, this->column_names(i), target);
01865   }
01866   
01867   // required string references_table_name = 3;
01868   if (has_references_table_name()) {
01869     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
01870       this->references_table_name().data(), this->references_table_name().length(),
01871       ::google::protobuf::internal::WireFormat::SERIALIZE);
01872     target =
01873       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
01874         3, this->references_table_name(), target);
01875   }
01876   
01877   // repeated string references_columns = 4;
01878   for (int i = 0; i < this->references_columns_size(); i++) {
01879     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
01880       this->references_columns(i).data(), this->references_columns(i).length(),
01881       ::google::protobuf::internal::WireFormat::SERIALIZE);
01882     target = ::google::protobuf::internal::WireFormatLite::
01883       WriteStringToArray(4, this->references_columns(i), target);
01884   }
01885   
01886   // required .drizzled.message.Table.ForeignKeyConstraint.ForeignKeyMatchOption match = 5;
01887   if (has_match()) {
01888     target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
01889       5, this->match(), target);
01890   }
01891   
01892   // required .drizzled.message.Table.ForeignKeyConstraint.ForeignKeyOption update_option = 6 [default = OPTION_UNDEF];
01893   if (has_update_option()) {
01894     target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
01895       6, this->update_option(), target);
01896   }
01897   
01898   // required .drizzled.message.Table.ForeignKeyConstraint.ForeignKeyOption delete_option = 7 [default = OPTION_UNDEF];
01899   if (has_delete_option()) {
01900     target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
01901       7, this->delete_option(), target);
01902   }
01903   
01904   if (!unknown_fields().empty()) {
01905     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
01906         unknown_fields(), target);
01907   }
01908   return target;
01909 }
01910 
01911 int Table_ForeignKeyConstraint::ByteSize() const {
01912   int total_size = 0;
01913   
01914   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
01915     // optional string name = 1;
01916     if (has_name()) {
01917       total_size += 1 +
01918         ::google::protobuf::internal::WireFormatLite::StringSize(
01919           this->name());
01920     }
01921     
01922     // required string references_table_name = 3;
01923     if (has_references_table_name()) {
01924       total_size += 1 +
01925         ::google::protobuf::internal::WireFormatLite::StringSize(
01926           this->references_table_name());
01927     }
01928     
01929     // required .drizzled.message.Table.ForeignKeyConstraint.ForeignKeyMatchOption match = 5;
01930     if (has_match()) {
01931       total_size += 1 +
01932         ::google::protobuf::internal::WireFormatLite::EnumSize(this->match());
01933     }
01934     
01935     // required .drizzled.message.Table.ForeignKeyConstraint.ForeignKeyOption update_option = 6 [default = OPTION_UNDEF];
01936     if (has_update_option()) {
01937       total_size += 1 +
01938         ::google::protobuf::internal::WireFormatLite::EnumSize(this->update_option());
01939     }
01940     
01941     // required .drizzled.message.Table.ForeignKeyConstraint.ForeignKeyOption delete_option = 7 [default = OPTION_UNDEF];
01942     if (has_delete_option()) {
01943       total_size += 1 +
01944         ::google::protobuf::internal::WireFormatLite::EnumSize(this->delete_option());
01945     }
01946     
01947   }
01948   // repeated string column_names = 2;
01949   total_size += 1 * this->column_names_size();
01950   for (int i = 0; i < this->column_names_size(); i++) {
01951     total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
01952       this->column_names(i));
01953   }
01954   
01955   // repeated string references_columns = 4;
01956   total_size += 1 * this->references_columns_size();
01957   for (int i = 0; i < this->references_columns_size(); i++) {
01958     total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
01959       this->references_columns(i));
01960   }
01961   
01962   if (!unknown_fields().empty()) {
01963     total_size +=
01964       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
01965         unknown_fields());
01966   }
01967   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
01968   _cached_size_ = total_size;
01969   GOOGLE_SAFE_CONCURRENT_WRITES_END();
01970   return total_size;
01971 }
01972 
01973 void Table_ForeignKeyConstraint::MergeFrom(const ::google::protobuf::Message& from) {
01974   GOOGLE_CHECK_NE(&from, this);
01975   const Table_ForeignKeyConstraint* source =
01976     ::google::protobuf::internal::dynamic_cast_if_available<const Table_ForeignKeyConstraint*>(
01977       &from);
01978   if (source == NULL) {
01979     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
01980   } else {
01981     MergeFrom(*source);
01982   }
01983 }
01984 
01985 void Table_ForeignKeyConstraint::MergeFrom(const Table_ForeignKeyConstraint& from) {
01986   GOOGLE_CHECK_NE(&from, this);
01987   column_names_.MergeFrom(from.column_names_);
01988   references_columns_.MergeFrom(from.references_columns_);
01989   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
01990     if (from.has_name()) {
01991       set_name(from.name());
01992     }
01993     if (from.has_references_table_name()) {
01994       set_references_table_name(from.references_table_name());
01995     }
01996     if (from.has_match()) {
01997       set_match(from.match());
01998     }
01999     if (from.has_update_option()) {
02000       set_update_option(from.update_option());
02001     }
02002     if (from.has_delete_option()) {
02003       set_delete_option(from.delete_option());
02004     }
02005   }
02006   mutable_unknown_fields()->MergeFrom(from.unknown_fields());
02007 }
02008 
02009 void Table_ForeignKeyConstraint::CopyFrom(const ::google::protobuf::Message& from) {
02010   if (&from == this) return;
02011   Clear();
02012   MergeFrom(from);
02013 }
02014 
02015 void Table_ForeignKeyConstraint::CopyFrom(const Table_ForeignKeyConstraint& from) {
02016   if (&from == this) return;
02017   Clear();
02018   MergeFrom(from);
02019 }
02020 
02021 bool Table_ForeignKeyConstraint::IsInitialized() const {
02022   if ((_has_bits_[0] & 0x00000074) != 0x00000074) return false;
02023   
02024   return true;
02025 }
02026 
02027 void Table_ForeignKeyConstraint::Swap(Table_ForeignKeyConstraint* other) {
02028   if (other != this) {
02029     std::swap(name_, other->name_);
02030     column_names_.Swap(&other->column_names_);
02031     std::swap(references_table_name_, other->references_table_name_);
02032     references_columns_.Swap(&other->references_columns_);
02033     std::swap(match_, other->match_);
02034     std::swap(update_option_, other->update_option_);
02035     std::swap(delete_option_, other->delete_option_);
02036     std::swap(_has_bits_[0], other->_has_bits_[0]);
02037     _unknown_fields_.Swap(&other->_unknown_fields_);
02038     std::swap(_cached_size_, other->_cached_size_);
02039   }
02040 }
02041 
02042 ::google::protobuf::Metadata Table_ForeignKeyConstraint::GetMetadata() const {
02043   protobuf_AssignDescriptorsOnce();
02044   ::google::protobuf::Metadata metadata;
02045   metadata.descriptor = Table_ForeignKeyConstraint_descriptor_;
02046   metadata.reflection = Table_ForeignKeyConstraint_reflection_;
02047   return metadata;
02048 }
02049 
02050 
02051 // -------------------------------------------------------------------
02052 
02053 const ::google::protobuf::EnumDescriptor* Table_Field_FieldType_descriptor() {
02054   protobuf_AssignDescriptorsOnce();
02055   return Table_Field_FieldType_descriptor_;
02056 }
02057 bool Table_Field_FieldType_IsValid(int value) {
02058   switch(value) {
02059     case 0:
02060     case 1:
02061     case 2:
02062     case 3:
02063     case 4:
02064     case 5:
02065     case 6:
02066     case 7:
02067     case 9:
02068     case 10:
02069     case 11:
02070     case 12:
02071     case 13:
02072     case 14:
02073       return true;
02074     default:
02075       return false;
02076   }
02077 }
02078 
02079 #ifndef _MSC_VER
02080 const Table_Field_FieldType Table_Field::DOUBLE;
02081 const Table_Field_FieldType Table_Field::VARCHAR;
02082 const Table_Field_FieldType Table_Field::BLOB;
02083 const Table_Field_FieldType Table_Field::ENUM;
02084 const Table_Field_FieldType Table_Field::INTEGER;
02085 const Table_Field_FieldType Table_Field::BIGINT;
02086 const Table_Field_FieldType Table_Field::DECIMAL;
02087 const Table_Field_FieldType Table_Field::DATE;
02088 const Table_Field_FieldType Table_Field::EPOCH;
02089 const Table_Field_FieldType Table_Field::DATETIME;
02090 const Table_Field_FieldType Table_Field::UUID;
02091 const Table_Field_FieldType Table_Field::TIME;
02092 const Table_Field_FieldType Table_Field::BOOLEAN;
02093 const Table_Field_FieldType Table_Field::IPV6;
02094 const Table_Field_FieldType Table_Field::FieldType_MIN;
02095 const Table_Field_FieldType Table_Field::FieldType_MAX;
02096 const int Table_Field::FieldType_ARRAYSIZE;
02097 #endif  // _MSC_VER
02098 #ifndef _MSC_VER
02099 const int Table_Field_FieldOptions::kDefaultValueFieldNumber;
02100 const int Table_Field_FieldOptions::kUpdateValueFieldNumber;
02101 const int Table_Field_FieldOptions::kDefaultNullFieldNumber;
02102 const int Table_Field_FieldOptions::kDefaultBinValueFieldNumber;
02103 const int Table_Field_FieldOptions::kDefaultExpressionFieldNumber;
02104 const int Table_Field_FieldOptions::kUpdateExpressionFieldNumber;
02105 #endif  // !_MSC_VER
02106 
02107 Table_Field_FieldOptions::Table_Field_FieldOptions()
02108   : ::google::protobuf::Message() {
02109   SharedCtor();
02110 }
02111 
02112 void Table_Field_FieldOptions::InitAsDefaultInstance() {
02113 }
02114 
02115 Table_Field_FieldOptions::Table_Field_FieldOptions(const Table_Field_FieldOptions& from)
02116   : ::google::protobuf::Message() {
02117   SharedCtor();
02118   MergeFrom(from);
02119 }
02120 
02121 void Table_Field_FieldOptions::SharedCtor() {
02122   _cached_size_ = 0;
02123   default_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
02124   update_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
02125   default_null_ = false;
02126   default_bin_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
02127   default_expression_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
02128   update_expression_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
02129   ::memset(_has_bits_, 0, sizeof(_has_bits_));
02130 }
02131 
02132 Table_Field_FieldOptions::~Table_Field_FieldOptions() {
02133   SharedDtor();
02134 }
02135 
02136 void Table_Field_FieldOptions::SharedDtor() {
02137   if (default_value_ != &::google::protobuf::internal::kEmptyString) {
02138     delete default_value_;
02139   }
02140   if (update_value_ != &::google::protobuf::internal::kEmptyString) {
02141     delete update_value_;
02142   }
02143   if (default_bin_value_ != &::google::protobuf::internal::kEmptyString) {
02144     delete default_bin_value_;
02145   }
02146   if (default_expression_ != &::google::protobuf::internal::kEmptyString) {
02147     delete default_expression_;
02148   }
02149   if (update_expression_ != &::google::protobuf::internal::kEmptyString) {
02150     delete update_expression_;
02151   }
02152   if (this != default_instance_) {
02153   }
02154 }
02155 
02156 void Table_Field_FieldOptions::SetCachedSize(int size) const {
02157   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
02158   _cached_size_ = size;
02159   GOOGLE_SAFE_CONCURRENT_WRITES_END();
02160 }
02161 const ::google::protobuf::Descriptor* Table_Field_FieldOptions::descriptor() {
02162   protobuf_AssignDescriptorsOnce();
02163   return Table_Field_FieldOptions_descriptor_;
02164 }
02165 
02166 const Table_Field_FieldOptions& Table_Field_FieldOptions::default_instance() {
02167   if (default_instance_ == NULL) protobuf_AddDesc_table_2eproto();  return *default_instance_;
02168 }
02169 
02170 Table_Field_FieldOptions* Table_Field_FieldOptions::default_instance_ = NULL;
02171 
02172 Table_Field_FieldOptions* Table_Field_FieldOptions::New() const {
02173   return new Table_Field_FieldOptions;
02174 }
02175 
02176 void Table_Field_FieldOptions::Clear() {
02177   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
02178     if (has_default_value()) {
02179       if (default_value_ != &::google::protobuf::internal::kEmptyString) {
02180         default_value_->clear();
02181       }
02182     }
02183     if (has_update_value()) {
02184       if (update_value_ != &::google::protobuf::internal::kEmptyString) {
02185         update_value_->clear();
02186       }
02187     }
02188     default_null_ = false;
02189     if (has_default_bin_value()) {
02190       if (default_bin_value_ != &::google::protobuf::internal::kEmptyString) {
02191         default_bin_value_->clear();
02192       }
02193     }
02194     if (has_default_expression()) {
02195       if (default_expression_ != &::google::protobuf::internal::kEmptyString) {
02196         default_expression_->clear();
02197       }
02198     }
02199     if (has_update_expression()) {
02200       if (update_expression_ != &::google::protobuf::internal::kEmptyString) {
02201         update_expression_->clear();
02202       }
02203     }
02204   }
02205   ::memset(_has_bits_, 0, sizeof(_has_bits_));
02206   mutable_unknown_fields()->Clear();
02207 }
02208 
02209 bool Table_Field_FieldOptions::MergePartialFromCodedStream(
02210     ::google::protobuf::io::CodedInputStream* input) {
02211 #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
02212   ::google::protobuf::uint32 tag;
02213   while ((tag = input->ReadTag()) != 0) {
02214     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
02215       // optional string default_value = 1;
02216       case 1: {
02217         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
02218             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
02219           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
02220                 input, this->mutable_default_value()));
02221           ::google::protobuf::internal::WireFormat::VerifyUTF8String(
02222             this->default_value().data(), this->default_value().length(),
02223             ::google::protobuf::internal::WireFormat::PARSE);
02224         } else {
02225           goto handle_uninterpreted;
02226         }
02227         if (input->ExpectTag(18)) goto parse_update_value;
02228         break;
02229       }
02230       
02231       // optional string update_value = 2;
02232       case 2: {
02233         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
02234             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
02235          parse_update_value:
02236           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
02237                 input, this->mutable_update_value()));
02238           ::google::protobuf::internal::WireFormat::VerifyUTF8String(
02239             this->update_value().data(), this->update_value().length(),
02240             ::google::protobuf::internal::WireFormat::PARSE);
02241         } else {
02242           goto handle_uninterpreted;
02243         }
02244         if (input->ExpectTag(24)) goto parse_default_null;
02245         break;
02246       }
02247       
02248       // optional bool default_null = 3 [default = false];
02249       case 3: {
02250         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
02251             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
02252          parse_default_null:
02253           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
02254                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
02255                  input, &default_null_)));
02256           set_has_default_null();
02257         } else {
02258           goto handle_uninterpreted;
02259         }
02260         if (input->ExpectTag(34)) goto parse_default_bin_value;
02261         break;
02262       }
02263       
02264       // optional bytes default_bin_value = 4;
02265       case 4: {
02266         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
02267             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
02268          parse_default_bin_value:
02269           DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
02270                 input, this->mutable_default_bin_value()));
02271         } else {
02272           goto handle_uninterpreted;
02273         }
02274         if (input->ExpectTag(42)) goto parse_default_expression;
02275         break;
02276       }
02277       
02278       // optional string default_expression = 5;
02279       case 5: {
02280         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
02281             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
02282          parse_default_expression:
02283           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
02284                 input, this->mutable_default_expression()));
02285           ::google::protobuf::internal::WireFormat::VerifyUTF8String(
02286             this->default_expression().data(), this->default_expression().length(),
02287             ::google::protobuf::internal::WireFormat::PARSE);
02288         } else {
02289           goto handle_uninterpreted;
02290         }
02291         if (input->ExpectTag(50)) goto parse_update_expression;
02292         break;
02293       }
02294       
02295       // optional string update_expression = 6;
02296       case 6: {
02297         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
02298             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
02299          parse_update_expression:
02300           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
02301                 input, this->mutable_update_expression()));
02302           ::google::protobuf::internal::WireFormat::VerifyUTF8String(
02303             this->update_expression().data(), this->update_expression().length(),
02304             ::google::protobuf::internal::WireFormat::PARSE);
02305         } else {
02306           goto handle_uninterpreted;
02307         }
02308         if (input->ExpectAtEnd()) return true;
02309         break;
02310       }
02311       
02312       default: {
02313       handle_uninterpreted:
02314         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
02315             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
02316           return true;
02317         }
02318         DO_(::google::protobuf::internal::WireFormat::SkipField(
02319               input, tag, mutable_unknown_fields()));
02320         break;
02321       }
02322     }
02323   }
02324   return true;
02325 #undef DO_
02326 }
02327 
02328 void Table_Field_FieldOptions::SerializeWithCachedSizes(
02329     ::google::protobuf::io::CodedOutputStream* output) const {
02330   // optional string default_value = 1;
02331   if (has_default_value()) {
02332     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
02333       this->default_value().data(), this->default_value().length(),
02334       ::google::protobuf::internal::WireFormat::SERIALIZE);
02335     ::google::protobuf::internal::WireFormatLite::WriteString(
02336       1, this->default_value(), output);
02337   }
02338   
02339   // optional string update_value = 2;
02340   if (has_update_value()) {
02341     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
02342       this->update_value().data(), this->update_value().length(),
02343       ::google::protobuf::internal::WireFormat::SERIALIZE);
02344     ::google::protobuf::internal::WireFormatLite::WriteString(
02345       2, this->update_value(), output);
02346   }
02347   
02348   // optional bool default_null = 3 [default = false];
02349   if (has_default_null()) {
02350     ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->default_null(), output);
02351   }
02352   
02353   // optional bytes default_bin_value = 4;
02354   if (has_default_bin_value()) {
02355     ::google::protobuf::internal::WireFormatLite::WriteBytes(
02356       4, this->default_bin_value(), output);
02357   }
02358   
02359   // optional string default_expression = 5;
02360   if (has_default_expression()) {
02361     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
02362       this->default_expression().data(), this->default_expression().length(),
02363       ::google::protobuf::internal::WireFormat::SERIALIZE);
02364     ::google::protobuf::internal::WireFormatLite::WriteString(
02365       5, this->default_expression(), output);
02366   }
02367   
02368   // optional string update_expression = 6;
02369   if (has_update_expression()) {
02370     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
02371       this->update_expression().data(), this->update_expression().length(),
02372       ::google::protobuf::internal::WireFormat::SERIALIZE);
02373     ::google::protobuf::internal::WireFormatLite::WriteString(
02374       6, this->update_expression(), output);
02375   }
02376   
02377   if (!unknown_fields().empty()) {
02378     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
02379         unknown_fields(), output);
02380   }
02381 }
02382 
02383 ::google::protobuf::uint8* Table_Field_FieldOptions::SerializeWithCachedSizesToArray(
02384     ::google::protobuf::uint8* target) const {
02385   // optional string default_value = 1;
02386   if (has_default_value()) {
02387     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
02388       this->default_value().data(), this->default_value().length(),
02389       ::google::protobuf::internal::WireFormat::SERIALIZE);
02390     target =
02391       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
02392         1, this->default_value(), target);
02393   }
02394   
02395   // optional string update_value = 2;
02396   if (has_update_value()) {
02397     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
02398       this->update_value().data(), this->update_value().length(),
02399       ::google::protobuf::internal::WireFormat::SERIALIZE);
02400     target =
02401       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
02402         2, this->update_value(), target);
02403   }
02404   
02405   // optional bool default_null = 3 [default = false];
02406   if (has_default_null()) {
02407     target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->default_null(), target);
02408   }
02409   
02410   // optional bytes default_bin_value = 4;
02411   if (has_default_bin_value()) {
02412     target =
02413       ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
02414         4, this->default_bin_value(), target);
02415   }
02416   
02417   // optional string default_expression = 5;
02418   if (has_default_expression()) {
02419     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
02420       this->default_expression().data(), this->default_expression().length(),
02421       ::google::protobuf::internal::WireFormat::SERIALIZE);
02422     target =
02423       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
02424         5, this->default_expression(), target);
02425   }
02426   
02427   // optional string update_expression = 6;
02428   if (has_update_expression()) {
02429     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
02430       this->update_expression().data(), this->update_expression().length(),
02431       ::google::protobuf::internal::WireFormat::SERIALIZE);
02432     target =
02433       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
02434         6, this->update_expression(), target);
02435   }
02436   
02437   if (!unknown_fields().empty()) {
02438     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
02439         unknown_fields(), target);
02440   }
02441   return target;
02442 }
02443 
02444 int Table_Field_FieldOptions::ByteSize() const {
02445   int total_size = 0;
02446   
02447   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
02448     // optional string default_value = 1;
02449     if (has_default_value()) {
02450       total_size += 1 +
02451         ::google::protobuf::internal::WireFormatLite::StringSize(
02452           this->default_value());
02453     }
02454     
02455     // optional string update_value = 2;
02456     if (has_update_value()) {
02457       total_size += 1 +
02458         ::google::protobuf::internal::WireFormatLite::StringSize(
02459           this->update_value());
02460     }
02461     
02462     // optional bool default_null = 3 [default = false];
02463     if (has_default_null()) {
02464       total_size += 1 + 1;
02465     }
02466     
02467     // optional bytes default_bin_value = 4;
02468     if (has_default_bin_value()) {
02469       total_size += 1 +
02470         ::google::protobuf::internal::WireFormatLite::BytesSize(
02471           this->default_bin_value());
02472     }
02473     
02474     // optional string default_expression = 5;
02475     if (has_default_expression()) {
02476       total_size += 1 +
02477         ::google::protobuf::internal::WireFormatLite::StringSize(
02478           this->default_expression());
02479     }
02480     
02481     // optional string update_expression = 6;
02482     if (has_update_expression()) {
02483       total_size += 1 +
02484         ::google::protobuf::internal::WireFormatLite::StringSize(
02485           this->update_expression());
02486     }
02487     
02488   }
02489   if (!unknown_fields().empty()) {
02490     total_size +=
02491       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
02492         unknown_fields());
02493   }
02494   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
02495   _cached_size_ = total_size;
02496   GOOGLE_SAFE_CONCURRENT_WRITES_END();
02497   return total_size;
02498 }
02499 
02500 void Table_Field_FieldOptions::MergeFrom(const ::google::protobuf::Message& from) {
02501   GOOGLE_CHECK_NE(&from, this);
02502   const Table_Field_FieldOptions* source =
02503     ::google::protobuf::internal::dynamic_cast_if_available<const Table_Field_FieldOptions*>(
02504       &from);
02505   if (source == NULL) {
02506     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
02507   } else {
02508     MergeFrom(*source);
02509   }
02510 }
02511 
02512 void Table_Field_FieldOptions::MergeFrom(const Table_Field_FieldOptions& from) {
02513   GOOGLE_CHECK_NE(&from, this);
02514   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
02515     if (from.has_default_value()) {
02516       set_default_value(from.default_value());
02517     }
02518     if (from.has_update_value()) {
02519       set_update_value(from.update_value());
02520     }
02521     if (from.has_default_null()) {
02522       set_default_null(from.default_null());
02523     }
02524     if (from.has_default_bin_value()) {
02525       set_default_bin_value(from.default_bin_value());
02526     }
02527     if (from.has_default_expression()) {
02528       set_default_expression(from.default_expression());
02529     }
02530     if (from.has_update_expression()) {
02531       set_update_expression(from.update_expression());
02532     }
02533   }
02534   mutable_unknown_fields()->MergeFrom(from.unknown_fields());
02535 }
02536 
02537 void Table_Field_FieldOptions::CopyFrom(const ::google::protobuf::Message& from) {
02538   if (&from == this) return;
02539   Clear();
02540   MergeFrom(from);
02541 }
02542 
02543 void Table_Field_FieldOptions::CopyFrom(const Table_Field_FieldOptions& from) {
02544   if (&from == this) return;
02545   Clear();
02546   MergeFrom(from);
02547 }
02548 
02549 bool Table_Field_FieldOptions::IsInitialized() const {
02550   
02551   return true;
02552 }
02553 
02554 void Table_Field_FieldOptions::Swap(Table_Field_FieldOptions* other) {
02555   if (other != this) {
02556     std::swap(default_value_, other->default_value_);
02557     std::swap(update_value_, other->update_value_);
02558     std::swap(default_null_, other->default_null_);
02559     std::swap(default_bin_value_, other->default_bin_value_);
02560     std::swap(default_expression_, other->default_expression_);
02561     std::swap(update_expression_, other->update_expression_);
02562     std::swap(_has_bits_[0], other->_has_bits_[0]);
02563     _unknown_fields_.Swap(&other->_unknown_fields_);
02564     std::swap(_cached_size_, other->_cached_size_);
02565   }
02566 }
02567 
02568 ::google::protobuf::Metadata Table_Field_FieldOptions::GetMetadata() const {
02569   protobuf_AssignDescriptorsOnce();
02570   ::google::protobuf::Metadata metadata;
02571   metadata.descriptor = Table_Field_FieldOptions_descriptor_;
02572   metadata.reflection = Table_Field_FieldOptions_reflection_;
02573   return metadata;
02574 }
02575 
02576 
02577 // -------------------------------------------------------------------
02578 
02579 #ifndef _MSC_VER
02580 const int Table_Field_FieldConstraints::kIsNullableFieldNumber;
02581 const int Table_Field_FieldConstraints::kIsUnsignedFieldNumber;
02582 const int Table_Field_FieldConstraints::kIsNotnullFieldNumber;
02583 const int Table_Field_FieldConstraints::kIsUniqueFieldNumber;
02584 const int Table_Field_FieldConstraints::kExpressionFieldNumber;
02585 #endif  // !_MSC_VER
02586 
02587 Table_Field_FieldConstraints::Table_Field_FieldConstraints()
02588   : ::google::protobuf::Message() {
02589   SharedCtor();
02590 }
02591 
02592 void Table_Field_FieldConstraints::InitAsDefaultInstance() {
02593 }
02594 
02595 Table_Field_FieldConstraints::Table_Field_FieldConstraints(const Table_Field_FieldConstraints& from)
02596   : ::google::protobuf::Message() {
02597   SharedCtor();
02598   MergeFrom(from);
02599 }
02600 
02601 void Table_Field_FieldConstraints::SharedCtor() {
02602   _cached_size_ = 0;
02603   is_nullable_ = true;
02604   is_unsigned_ = false;
02605   is_notnull_ = false;
02606   is_unique_ = false;
02607   ::memset(_has_bits_, 0, sizeof(_has_bits_));
02608 }
02609 
02610 Table_Field_FieldConstraints::~Table_Field_FieldConstraints() {
02611   SharedDtor();
02612 }
02613 
02614 void Table_Field_FieldConstraints::SharedDtor() {
02615   if (this != default_instance_) {
02616   }
02617 }
02618 
02619 void Table_Field_FieldConstraints::SetCachedSize(int size) const {
02620   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
02621   _cached_size_ = size;
02622   GOOGLE_SAFE_CONCURRENT_WRITES_END();
02623 }
02624 const ::google::protobuf::Descriptor* Table_Field_FieldConstraints::descriptor() {
02625   protobuf_AssignDescriptorsOnce();
02626   return Table_Field_FieldConstraints_descriptor_;
02627 }
02628 
02629 const Table_Field_FieldConstraints& Table_Field_FieldConstraints::default_instance() {
02630   if (default_instance_ == NULL) protobuf_AddDesc_table_2eproto();  return *default_instance_;
02631 }
02632 
02633 Table_Field_FieldConstraints* Table_Field_FieldConstraints::default_instance_ = NULL;
02634 
02635 Table_Field_FieldConstraints* Table_Field_FieldConstraints::New() const {
02636   return new Table_Field_FieldConstraints;
02637 }
02638 
02639 void Table_Field_FieldConstraints::Clear() {
02640   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
02641     is_nullable_ = true;
02642     is_unsigned_ = false;
02643     is_notnull_ = false;
02644     is_unique_ = false;
02645   }
02646   expression_.Clear();
02647   ::memset(_has_bits_, 0, sizeof(_has_bits_));
02648   mutable_unknown_fields()->Clear();
02649 }
02650 
02651 bool Table_Field_FieldConstraints::MergePartialFromCodedStream(
02652     ::google::protobuf::io::CodedInputStream* input) {
02653 #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
02654   ::google::protobuf::uint32 tag;
02655   while ((tag = input->ReadTag()) != 0) {
02656     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
02657       // optional bool is_nullable = 1 [default = true];
02658       case 1: {
02659         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
02660             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
02661           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
02662                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
02663                  input, &is_nullable_)));
02664           set_has_is_nullable();
02665         } else {
02666           goto handle_uninterpreted;
02667         }
02668         if (input->ExpectTag(16)) goto parse_is_unsigned;
02669         break;
02670       }
02671       
02672       // optional bool is_unsigned = 2 [default = false];
02673       case 2: {
02674         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
02675             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
02676          parse_is_unsigned:
02677           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
02678                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
02679                  input, &is_unsigned_)));
02680           set_has_is_unsigned();
02681         } else {
02682           goto handle_uninterpreted;
02683         }
02684         if (input->ExpectTag(24)) goto parse_is_notnull;
02685         break;
02686       }
02687       
02688       // optional bool is_notnull = 3 [default = false];
02689       case 3: {
02690         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
02691             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
02692          parse_is_notnull:
02693           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
02694                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
02695                  input, &is_notnull_)));
02696           set_has_is_notnull();
02697         } else {
02698           goto handle_uninterpreted;
02699         }
02700         if (input->ExpectTag(32)) goto parse_is_unique;
02701         break;
02702       }
02703       
02704       // optional bool is_unique = 4 [default = false];
02705       case 4: {
02706         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
02707             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
02708          parse_is_unique:
02709           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
02710                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
02711                  input, &is_unique_)));
02712           set_has_is_unique();
02713         } else {
02714           goto handle_uninterpreted;
02715         }
02716         if (input->ExpectTag(130)) goto parse_expression;
02717         break;
02718       }
02719       
02720       // repeated string expression = 16;
02721       case 16: {
02722         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
02723             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
02724          parse_expression:
02725           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
02726                 input, this->add_expression()));
02727           ::google::protobuf::internal::WireFormat::VerifyUTF8String(
02728             this->expression(0).data(), this->expression(0).length(),
02729             ::google::protobuf::internal::WireFormat::PARSE);
02730         } else {
02731           goto handle_uninterpreted;
02732         }
02733         if (input->ExpectTag(130)) goto parse_expression;
02734         if (input->ExpectAtEnd()) return true;
02735         break;
02736       }
02737       
02738       default: {
02739       handle_uninterpreted:
02740         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
02741             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
02742           return true;
02743         }
02744         DO_(::google::protobuf::internal::WireFormat::SkipField(
02745               input, tag, mutable_unknown_fields()));
02746         break;
02747       }
02748     }
02749   }
02750   return true;
02751 #undef DO_
02752 }
02753 
02754 void Table_Field_FieldConstraints::SerializeWithCachedSizes(
02755     ::google::protobuf::io::CodedOutputStream* output) const {
02756   // optional bool is_nullable = 1 [default = true];
02757   if (has_is_nullable()) {
02758     ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->is_nullable(), output);
02759   }
02760   
02761   // optional bool is_unsigned = 2 [default = false];
02762   if (has_is_unsigned()) {
02763     ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->is_unsigned(), output);
02764   }
02765   
02766   // optional bool is_notnull = 3 [default = false];
02767   if (has_is_notnull()) {
02768     ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->is_notnull(), output);
02769   }
02770   
02771   // optional bool is_unique = 4 [default = false];
02772   if (has_is_unique()) {
02773     ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->is_unique(), output);
02774   }
02775   
02776   // repeated string expression = 16;
02777   for (int i = 0; i < this->expression_size(); i++) {
02778   ::google::protobuf::internal::WireFormat::VerifyUTF8String(
02779     this->expression(i).data(), this->expression(i).length(),
02780     ::google::protobuf::internal::WireFormat::SERIALIZE);
02781     ::google::protobuf::internal::WireFormatLite::WriteString(
02782       16, this->expression(i), output);
02783   }
02784   
02785   if (!unknown_fields().empty()) {
02786     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
02787         unknown_fields(), output);
02788   }
02789 }
02790 
02791 ::google::protobuf::uint8* Table_Field_FieldConstraints::SerializeWithCachedSizesToArray(
02792     ::google::protobuf::uint8* target) const {
02793   // optional bool is_nullable = 1 [default = true];
02794   if (has_is_nullable()) {
02795     target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->is_nullable(), target);
02796   }
02797   
02798   // optional bool is_unsigned = 2 [default = false];
02799   if (has_is_unsigned()) {
02800     target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->is_unsigned(), target);
02801   }
02802   
02803   // optional bool is_notnull = 3 [default = false];
02804   if (has_is_notnull()) {
02805     target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->is_notnull(), target);
02806   }
02807   
02808   // optional bool is_unique = 4 [default = false];
02809   if (has_is_unique()) {
02810     target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->is_unique(), target);
02811   }
02812   
02813   // repeated string expression = 16;
02814   for (int i = 0; i < this->expression_size(); i++) {
02815     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
02816       this->expression(i).data(), this->expression(i).length(),
02817       ::google::protobuf::internal::WireFormat::SERIALIZE);
02818     target = ::google::protobuf::internal::WireFormatLite::
02819       WriteStringToArray(16, this->expression(i), target);
02820   }
02821   
02822   if (!unknown_fields().empty()) {
02823     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
02824         unknown_fields(), target);
02825   }
02826   return target;
02827 }
02828 
02829 int Table_Field_FieldConstraints::ByteSize() const {
02830   int total_size = 0;
02831   
02832   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
02833     // optional bool is_nullable = 1 [default = true];
02834     if (has_is_nullable()) {
02835       total_size += 1 + 1;
02836     }
02837     
02838     // optional bool is_unsigned = 2 [default = false];
02839     if (has_is_unsigned()) {
02840       total_size += 1 + 1;
02841     }
02842     
02843     // optional bool is_notnull = 3 [default = false];
02844     if (has_is_notnull()) {
02845       total_size += 1 + 1;
02846     }
02847     
02848     // optional bool is_unique = 4 [default = false];
02849     if (has_is_unique()) {
02850       total_size += 1 + 1;
02851     }
02852     
02853   }
02854   // repeated string expression = 16;
02855   total_size += 2 * this->expression_size();
02856   for (int i = 0; i < this->expression_size(); i++) {
02857     total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
02858       this->expression(i));
02859   }
02860   
02861   if (!unknown_fields().empty()) {
02862     total_size +=
02863       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
02864         unknown_fields());
02865   }
02866   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
02867   _cached_size_ = total_size;
02868   GOOGLE_SAFE_CONCURRENT_WRITES_END();
02869   return total_size;
02870 }
02871 
02872 void Table_Field_FieldConstraints::MergeFrom(const ::google::protobuf::Message& from) {
02873   GOOGLE_CHECK_NE(&from, this);
02874   const Table_Field_FieldConstraints* source =
02875     ::google::protobuf::internal::dynamic_cast_if_available<const Table_Field_FieldConstraints*>(
02876       &from);
02877   if (source == NULL) {
02878     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
02879   } else {
02880     MergeFrom(*source);
02881   }
02882 }
02883 
02884 void Table_Field_FieldConstraints::MergeFrom(const Table_Field_FieldConstraints& from) {
02885   GOOGLE_CHECK_NE(&from, this);
02886   expression_.MergeFrom(from.expression_);
02887   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
02888     if (from.has_is_nullable()) {
02889       set_is_nullable(from.is_nullable());
02890     }
02891     if (from.has_is_unsigned()) {
02892       set_is_unsigned(from.is_unsigned());
02893     }
02894     if (from.has_is_notnull()) {
02895       set_is_notnull(from.is_notnull());
02896     }
02897     if (from.has_is_unique()) {
02898       set_is_unique(from.is_unique());
02899     }
02900   }
02901   mutable_unknown_fields()->MergeFrom(from.unknown_fields());
02902 }
02903 
02904 void Table_Field_FieldConstraints::CopyFrom(const ::google::protobuf::Message& from) {
02905   if (&from == this) return;
02906   Clear();
02907   MergeFrom(from);
02908 }
02909 
02910 void Table_Field_FieldConstraints::CopyFrom(const Table_Field_FieldConstraints& from) {
02911   if (&from == this) return;
02912   Clear();
02913   MergeFrom(from);
02914 }
02915 
02916 bool Table_Field_FieldConstraints::IsInitialized() const {
02917   
02918   return true;
02919 }
02920 
02921 void Table_Field_FieldConstraints::Swap(Table_Field_FieldConstraints* other) {
02922   if (other != this) {
02923     std::swap(is_nullable_, other->is_nullable_);
02924     std::swap(is_unsigned_, other->is_unsigned_);
02925     std::swap(is_notnull_, other->is_notnull_);
02926     std::swap(is_unique_, other->is_unique_);
02927     expression_.Swap(&other->expression_);
02928     std::swap(_has_bits_[0], other->_has_bits_[0]);
02929     _unknown_fields_.Swap(&other->_unknown_fields_);
02930     std::swap(_cached_size_, other->_cached_size_);
02931   }
02932 }
02933 
02934 ::google::protobuf::Metadata Table_Field_FieldConstraints::GetMetadata() const {
02935   protobuf_AssignDescriptorsOnce();
02936   ::google::protobuf::Metadata metadata;
02937   metadata.descriptor = Table_Field_FieldConstraints_descriptor_;
02938   metadata.reflection = Table_Field_FieldConstraints_reflection_;
02939   return metadata;
02940 }
02941 
02942 
02943 // -------------------------------------------------------------------
02944 
02945 #ifndef _MSC_VER
02946 const int Table_Field_NumericFieldOptions::kIsAutoincrementFieldNumber;
02947 const int Table_Field_NumericFieldOptions::kScaleFieldNumber;
02948 const int Table_Field_NumericFieldOptions::kPrecisionFieldNumber;
02949 #endif  // !_MSC_VER
02950 
02951 Table_Field_NumericFieldOptions::Table_Field_NumericFieldOptions()
02952   : ::google::protobuf::Message() {
02953   SharedCtor();
02954 }
02955 
02956 void Table_Field_NumericFieldOptions::InitAsDefaultInstance() {
02957 }
02958 
02959 Table_Field_NumericFieldOptions::Table_Field_NumericFieldOptions(const Table_Field_NumericFieldOptions& from)
02960   : ::google::protobuf::Message() {
02961   SharedCtor();
02962   MergeFrom(from);
02963 }
02964 
02965 void Table_Field_NumericFieldOptions::SharedCtor() {
02966   _cached_size_ = 0;
02967   is_autoincrement_ = false;
02968   scale_ = 0u;
02969   precision_ = 0u;
02970   ::memset(_has_bits_, 0, sizeof(_has_bits_));
02971 }
02972 
02973 Table_Field_NumericFieldOptions::~Table_Field_NumericFieldOptions() {
02974   SharedDtor();
02975 }
02976 
02977 void Table_Field_NumericFieldOptions::SharedDtor() {
02978   if (this != default_instance_) {
02979   }
02980 }
02981 
02982 void Table_Field_NumericFieldOptions::SetCachedSize(int size) const {
02983   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
02984   _cached_size_ = size;
02985   GOOGLE_SAFE_CONCURRENT_WRITES_END();
02986 }
02987 const ::google::protobuf::Descriptor* Table_Field_NumericFieldOptions::descriptor() {
02988   protobuf_AssignDescriptorsOnce();
02989   return Table_Field_NumericFieldOptions_descriptor_;
02990 }
02991 
02992 const Table_Field_NumericFieldOptions& Table_Field_NumericFieldOptions::default_instance() {
02993   if (default_instance_ == NULL) protobuf_AddDesc_table_2eproto();  return *default_instance_;
02994 }
02995 
02996 Table_Field_NumericFieldOptions* Table_Field_NumericFieldOptions::default_instance_ = NULL;
02997 
02998 Table_Field_NumericFieldOptions* Table_Field_NumericFieldOptions::New() const {
02999   return new Table_Field_NumericFieldOptions;
03000 }
03001 
03002 void Table_Field_NumericFieldOptions::Clear() {
03003   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
03004     is_autoincrement_ = false;
03005     scale_ = 0u;
03006     precision_ = 0u;
03007   }
03008   ::memset(_has_bits_, 0, sizeof(_has_bits_));
03009   mutable_unknown_fields()->Clear();
03010 }
03011 
03012 bool Table_Field_NumericFieldOptions::MergePartialFromCodedStream(
03013     ::google::protobuf::io::CodedInputStream* input) {
03014 #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
03015   ::google::protobuf::uint32 tag;
03016   while ((tag = input->ReadTag()) != 0) {
03017     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
03018       // optional bool is_autoincrement = 1 [default = false];
03019       case 1: {
03020         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
03021             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
03022           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
03023                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
03024                  input, &is_autoincrement_)));
03025           set_has_is_autoincrement();
03026         } else {
03027           goto handle_uninterpreted;
03028         }
03029         if (input->ExpectTag(16)) goto parse_scale;
03030         break;
03031       }
03032       
03033       // optional uint32 scale = 2;
03034       case 2: {
03035         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
03036             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
03037          parse_scale:
03038           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
03039                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
03040                  input, &scale_)));
03041           set_has_scale();
03042         } else {
03043           goto handle_uninterpreted;
03044         }
03045         if (input->ExpectTag(24)) goto parse_precision;
03046         break;
03047       }
03048       
03049       // optional uint32 precision = 3;
03050       case 3: {
03051         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
03052             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
03053          parse_precision:
03054           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
03055                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
03056                  input, &precision_)));
03057           set_has_precision();
03058         } else {
03059           goto handle_uninterpreted;
03060         }
03061         if (input->ExpectAtEnd()) return true;
03062         break;
03063       }
03064       
03065       default: {
03066       handle_uninterpreted:
03067         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
03068             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
03069           return true;
03070         }
03071         DO_(::google::protobuf::internal::WireFormat::SkipField(
03072               input, tag, mutable_unknown_fields()));
03073         break;
03074       }
03075     }
03076   }
03077   return true;
03078 #undef DO_
03079 }
03080 
03081 void Table_Field_NumericFieldOptions::SerializeWithCachedSizes(
03082     ::google::protobuf::io::CodedOutputStream* output) const {
03083   // optional bool is_autoincrement = 1 [default = false];
03084   if (has_is_autoincrement()) {
03085     ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->is_autoincrement(), output);
03086   }
03087   
03088   // optional uint32 scale = 2;
03089   if (has_scale()) {
03090     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->scale(), output);
03091   }
03092   
03093   // optional uint32 precision = 3;
03094   if (has_precision()) {
03095     ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->precision(), output);
03096   }
03097   
03098   if (!unknown_fields().empty()) {
03099     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
03100         unknown_fields(), output);
03101   }
03102 }
03103 
03104 ::google::protobuf::uint8* Table_Field_NumericFieldOptions::SerializeWithCachedSizesToArray(
03105     ::google::protobuf::uint8* target) const {
03106   // optional bool is_autoincrement = 1 [default = false];
03107   if (has_is_autoincrement()) {
03108     target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->is_autoincrement(), target);
03109   }
03110   
03111   // optional uint32 scale = 2;
03112   if (has_scale()) {
03113     target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->scale(), target);
03114   }
03115   
03116   // optional uint32 precision = 3;
03117   if (has_precision()) {
03118     target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->precision(), target);
03119   }
03120   
03121   if (!unknown_fields().empty()) {
03122     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
03123         unknown_fields(), target);
03124   }
03125   return target;
03126 }
03127 
03128 int Table_Field_NumericFieldOptions::ByteSize() const {
03129   int total_size = 0;
03130   
03131   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
03132     // optional bool is_autoincrement = 1 [default = false];
03133     if (has_is_autoincrement()) {
03134       total_size += 1 + 1;
03135     }
03136     
03137     // optional uint32 scale = 2;
03138     if (has_scale()) {
03139       total_size += 1 +
03140         ::google::protobuf::internal::WireFormatLite::UInt32Size(
03141           this->scale());
03142     }
03143     
03144     // optional uint32 precision = 3;
03145     if (has_precision()) {
03146       total_size += 1 +
03147         ::google::protobuf::internal::WireFormatLite::UInt32Size(
03148           this->precision());
03149     }
03150     
03151   }
03152   if (!unknown_fields().empty()) {
03153     total_size +=
03154       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
03155         unknown_fields());
03156   }
03157   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
03158   _cached_size_ = total_size;
03159   GOOGLE_SAFE_CONCURRENT_WRITES_END();
03160   return total_size;
03161 }
03162 
03163 void Table_Field_NumericFieldOptions::MergeFrom(const ::google::protobuf::Message& from) {
03164   GOOGLE_CHECK_NE(&from, this);
03165   const Table_Field_NumericFieldOptions* source =
03166     ::google::protobuf::internal::dynamic_cast_if_available<const Table_Field_NumericFieldOptions*>(
03167       &from);
03168   if (source == NULL) {
03169     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
03170   } else {
03171     MergeFrom(*source);
03172   }
03173 }
03174 
03175 void Table_Field_NumericFieldOptions::MergeFrom(const Table_Field_NumericFieldOptions& from) {
03176   GOOGLE_CHECK_NE(&from, this);
03177   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
03178     if (from.has_is_autoincrement()) {
03179       set_is_autoincrement(from.is_autoincrement());
03180     }
03181     if (from.has_scale()) {
03182       set_scale(from.scale());
03183     }
03184     if (from.has_precision()) {
03185       set_precision(from.precision());
03186     }
03187   }
03188   mutable_unknown_fields()->MergeFrom(from.unknown_fields());
03189 }
03190 
03191 void Table_Field_NumericFieldOptions::CopyFrom(const ::google::protobuf::Message& from) {
03192   if (&from == this) return;
03193   Clear();
03194   MergeFrom(from);
03195 }
03196 
03197 void Table_Field_NumericFieldOptions::CopyFrom(const Table_Field_NumericFieldOptions& from) {
03198   if (&from == this) return;
03199   Clear();
03200   MergeFrom(from);
03201 }
03202 
03203 bool Table_Field_NumericFieldOptions::IsInitialized() const {
03204   
03205   return true;
03206 }
03207 
03208 void Table_Field_NumericFieldOptions::Swap(Table_Field_NumericFieldOptions* other) {
03209   if (other != this) {
03210     std::swap(is_autoincrement_, other->is_autoincrement_);
03211     std::swap(scale_, other->scale_);
03212     std::swap(precision_, other->precision_);
03213     std::swap(_has_bits_[0], other->_has_bits_[0]);
03214     _unknown_fields_.Swap(&other->_unknown_fields_);
03215     std::swap(_cached_size_, other->_cached_size_);
03216   }
03217 }
03218 
03219 ::google::protobuf::Metadata Table_Field_NumericFieldOptions::GetMetadata() const {
03220   protobuf_AssignDescriptorsOnce();
03221   ::google::protobuf::Metadata metadata;
03222   metadata.descriptor = Table_Field_NumericFieldOptions_descriptor_;
03223   metadata.reflection = Table_Field_NumericFieldOptions_reflection_;
03224   return metadata;
03225 }
03226 
03227 
03228 // -------------------------------------------------------------------
03229 
03230 #ifndef _MSC_VER
03231 const int Table_Field_StringFieldOptions::kIsFixedWidthFieldNumber;
03232 const int Table_Field_StringFieldOptions::kLengthFieldNumber;
03233 const int Table_Field_StringFieldOptions::kCollationIdFieldNumber;
03234 const int Table_Field_StringFieldOptions::kCollationFieldNumber;
03235 #endif  // !_MSC_VER
03236 
03237 Table_Field_StringFieldOptions::Table_Field_StringFieldOptions()
03238   : ::google::protobuf::Message() {
03239   SharedCtor();
03240 }
03241 
03242 void Table_Field_StringFieldOptions::InitAsDefaultInstance() {
03243 }
03244 
03245 Table_Field_StringFieldOptions::Table_Field_StringFieldOptions(const Table_Field_StringFieldOptions& from)
03246   : ::google::protobuf::Message() {
03247   SharedCtor();
03248   MergeFrom(from);
03249 }
03250 
03251 void Table_Field_StringFieldOptions::SharedCtor() {
03252   _cached_size_ = 0;
03253   is_fixed_width_ = false;
03254   length_ = 0u;
03255   collation_id_ = 0u;
03256   collation_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
03257   ::memset(_has_bits_, 0, sizeof(_has_bits_));
03258 }
03259 
03260 Table_Field_StringFieldOptions::~Table_Field_StringFieldOptions() {
03261   SharedDtor();
03262 }
03263 
03264 void Table_Field_StringFieldOptions::SharedDtor() {
03265   if (collation_ != &::google::protobuf::internal::kEmptyString) {
03266     delete collation_;
03267   }
03268   if (this != default_instance_) {
03269   }
03270 }
03271 
03272 void Table_Field_StringFieldOptions::SetCachedSize(int size) const {
03273   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
03274   _cached_size_ = size;
03275   GOOGLE_SAFE_CONCURRENT_WRITES_END();
03276 }
03277 const ::google::protobuf::Descriptor* Table_Field_StringFieldOptions::descriptor() {
03278   protobuf_AssignDescriptorsOnce();
03279   return Table_Field_StringFieldOptions_descriptor_;
03280 }
03281 
03282 const Table_Field_StringFieldOptions& Table_Field_StringFieldOptions::default_instance() {
03283   if (default_instance_ == NULL) protobuf_AddDesc_table_2eproto();  return *default_instance_;
03284 }
03285 
03286 Table_Field_StringFieldOptions* Table_Field_StringFieldOptions::default_instance_ = NULL;
03287 
03288 Table_Field_StringFieldOptions* Table_Field_StringFieldOptions::New() const {
03289   return new Table_Field_StringFieldOptions;
03290 }
03291 
03292 void Table_Field_StringFieldOptions::Clear() {
03293   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
03294     is_fixed_width_ = false;
03295     length_ = 0u;
03296     collation_id_ = 0u;
03297     if (has_collation()) {
03298       if (collation_ != &::google::protobuf::internal::kEmptyString) {
03299         collation_->clear();
03300       }
03301     }
03302   }
03303   ::memset(_has_bits_, 0, sizeof(_has_bits_));
03304   mutable_unknown_fields()->Clear();
03305 }
03306 
03307 bool Table_Field_StringFieldOptions::MergePartialFromCodedStream(
03308     ::google::protobuf::io::CodedInputStream* input) {
03309 #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
03310   ::google::protobuf::uint32 tag;
03311   while ((tag = input->ReadTag()) != 0) {
03312     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
03313       // optional bool is_fixed_width = 1 [default = false];
03314       case 1: {
03315         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
03316             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
03317           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
03318                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
03319                  input, &is_fixed_width_)));
03320           set_has_is_fixed_width();
03321         } else {
03322           goto handle_uninterpreted;
03323         }
03324         if (input->ExpectTag(16)) goto parse_length;
03325         break;
03326       }
03327       
03328       // optional uint32 length = 2;
03329       case 2: {
03330         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
03331             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
03332          parse_length:
03333           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
03334                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
03335                  input, &length_)));
03336           set_has_length();
03337         } else {
03338           goto handle_uninterpreted;
03339         }
03340         if (input->ExpectTag(24)) goto parse_collation_id;
03341         break;
03342       }
03343       
03344       // optional uint32 collation_id = 3;
03345       case 3: {
03346         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
03347             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
03348          parse_collation_id:
03349           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
03350                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
03351                  input, &collation_id_)));
03352           set_has_collation_id();
03353         } else {
03354           goto handle_uninterpreted;
03355         }
03356         if (input->ExpectTag(34)) goto parse_collation;
03357         break;
03358       }
03359       
03360       // optional string collation = 4;
03361       case 4: {
03362         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
03363             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
03364          parse_collation:
03365           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
03366                 input, this->mutable_collation()));
03367           ::google::protobuf::internal::WireFormat::VerifyUTF8String(
03368             this->collation().data(), this->collation().length(),
03369             ::google::protobuf::internal::WireFormat::PARSE);
03370         } else {
03371           goto handle_uninterpreted;
03372         }
03373         if (input->ExpectAtEnd()) return true;
03374         break;
03375       }
03376       
03377       default: {
03378       handle_uninterpreted:
03379         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
03380             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
03381           return true;
03382         }
03383         DO_(::google::protobuf::internal::WireFormat::SkipField(
03384               input, tag, mutable_unknown_fields()));
03385         break;
03386       }
03387     }
03388   }
03389   return true;
03390 #undef DO_
03391 }
03392 
03393 void Table_Field_StringFieldOptions::SerializeWithCachedSizes(
03394     ::google::protobuf::io::CodedOutputStream* output) const {
03395   // optional bool is_fixed_width = 1 [default = false];
03396   if (has_is_fixed_width()) {
03397     ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->is_fixed_width(), output);
03398   }
03399   
03400   // optional uint32 length = 2;
03401   if (has_length()) {
03402     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->length(), output);
03403   }
03404   
03405   // optional uint32 collation_id = 3;
03406   if (has_collation_id()) {
03407     ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->collation_id(), output);
03408   }
03409   
03410   // optional string collation = 4;
03411   if (has_collation()) {
03412     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
03413       this->collation().data(), this->collation().length(),
03414       ::google::protobuf::internal::WireFormat::SERIALIZE);
03415     ::google::protobuf::internal::WireFormatLite::WriteString(
03416       4, this->collation(), output);
03417   }
03418   
03419   if (!unknown_fields().empty()) {
03420     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
03421         unknown_fields(), output);
03422   }
03423 }
03424 
03425 ::google::protobuf::uint8* Table_Field_StringFieldOptions::SerializeWithCachedSizesToArray(
03426     ::google::protobuf::uint8* target) const {
03427   // optional bool is_fixed_width = 1 [default = false];
03428   if (has_is_fixed_width()) {
03429     target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->is_fixed_width(), target);
03430   }
03431   
03432   // optional uint32 length = 2;
03433   if (has_length()) {
03434     target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->length(), target);
03435   }
03436   
03437   // optional uint32 collation_id = 3;
03438   if (has_collation_id()) {
03439     target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->collation_id(), target);
03440   }
03441   
03442   // optional string collation = 4;
03443   if (has_collation()) {
03444     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
03445       this->collation().data(), this->collation().length(),
03446       ::google::protobuf::internal::WireFormat::SERIALIZE);
03447     target =
03448       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
03449         4, this->collation(), target);
03450   }
03451   
03452   if (!unknown_fields().empty()) {
03453     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
03454         unknown_fields(), target);
03455   }
03456   return target;
03457 }
03458 
03459 int Table_Field_StringFieldOptions::ByteSize() const {
03460   int total_size = 0;
03461   
03462   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
03463     // optional bool is_fixed_width = 1 [default = false];
03464     if (has_is_fixed_width()) {
03465       total_size += 1 + 1;
03466     }
03467     
03468     // optional uint32 length = 2;
03469     if (has_length()) {
03470       total_size += 1 +
03471         ::google::protobuf::internal::WireFormatLite::UInt32Size(
03472           this->length());
03473     }
03474     
03475     // optional uint32 collation_id = 3;
03476     if (has_collation_id()) {
03477       total_size += 1 +
03478         ::google::protobuf::internal::WireFormatLite::UInt32Size(
03479           this->collation_id());
03480     }
03481     
03482     // optional string collation = 4;
03483     if (has_collation()) {
03484       total_size += 1 +
03485         ::google::protobuf::internal::WireFormatLite::StringSize(
03486           this->collation());
03487     }
03488     
03489   }
03490   if (!unknown_fields().empty()) {
03491     total_size +=
03492       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
03493         unknown_fields());
03494   }
03495   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
03496   _cached_size_ = total_size;
03497   GOOGLE_SAFE_CONCURRENT_WRITES_END();
03498   return total_size;
03499 }
03500 
03501 void Table_Field_StringFieldOptions::MergeFrom(const ::google::protobuf::Message& from) {
03502   GOOGLE_CHECK_NE(&from, this);
03503   const Table_Field_StringFieldOptions* source =
03504     ::google::protobuf::internal::dynamic_cast_if_available<const Table_Field_StringFieldOptions*>(
03505       &from);
03506   if (source == NULL) {
03507     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
03508   } else {
03509     MergeFrom(*source);
03510   }
03511 }
03512 
03513 void Table_Field_StringFieldOptions::MergeFrom(const Table_Field_StringFieldOptions& from) {
03514   GOOGLE_CHECK_NE(&from, this);
03515   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
03516     if (from.has_is_fixed_width()) {
03517       set_is_fixed_width(from.is_fixed_width());
03518     }
03519     if (from.has_length()) {
03520       set_length(from.length());
03521     }
03522     if (from.has_collation_id()) {
03523       set_collation_id(from.collation_id());
03524     }
03525     if (from.has_collation()) {
03526       set_collation(from.collation());
03527     }
03528   }
03529   mutable_unknown_fields()->MergeFrom(from.unknown_fields());
03530 }
03531 
03532 void Table_Field_StringFieldOptions::CopyFrom(const ::google::protobuf::Message& from) {
03533   if (&from == this) return;
03534   Clear();
03535   MergeFrom(from);
03536 }
03537 
03538 void Table_Field_StringFieldOptions::CopyFrom(const Table_Field_StringFieldOptions& from) {
03539   if (&from == this) return;
03540   Clear();
03541   MergeFrom(from);
03542 }
03543 
03544 bool Table_Field_StringFieldOptions::IsInitialized() const {
03545   
03546   return true;
03547 }
03548 
03549 void Table_Field_StringFieldOptions::Swap(Table_Field_StringFieldOptions* other) {
03550   if (other != this) {
03551     std::swap(is_fixed_width_, other->is_fixed_width_);
03552     std::swap(length_, other->length_);
03553     std::swap(collation_id_, other->collation_id_);
03554     std::swap(collation_, other->collation_);
03555     std::swap(_has_bits_[0], other->_has_bits_[0]);
03556     _unknown_fields_.Swap(&other->_unknown_fields_);
03557     std::swap(_cached_size_, other->_cached_size_);
03558   }
03559 }
03560 
03561 ::google::protobuf::Metadata Table_Field_StringFieldOptions::GetMetadata() const {
03562   protobuf_AssignDescriptorsOnce();
03563   ::google::protobuf::Metadata metadata;
03564   metadata.descriptor = Table_Field_StringFieldOptions_descriptor_;
03565   metadata.reflection = Table_Field_StringFieldOptions_reflection_;
03566   return metadata;
03567 }
03568 
03569 
03570 // -------------------------------------------------------------------
03571 
03572 #ifndef _MSC_VER
03573 const int Table_Field_EnumerationValues::kCollationIdFieldNumber;
03574 const int Table_Field_EnumerationValues::kCollationFieldNumber;
03575 const int Table_Field_EnumerationValues::kFieldValueFieldNumber;
03576 #endif  // !_MSC_VER
03577 
03578 Table_Field_EnumerationValues::Table_Field_EnumerationValues()
03579   : ::google::protobuf::Message() {
03580   SharedCtor();
03581 }
03582 
03583 void Table_Field_EnumerationValues::InitAsDefaultInstance() {
03584 }
03585 
03586 Table_Field_EnumerationValues::Table_Field_EnumerationValues(const Table_Field_EnumerationValues& from)
03587   : ::google::protobuf::Message() {
03588   SharedCtor();
03589   MergeFrom(from);
03590 }
03591 
03592 void Table_Field_EnumerationValues::SharedCtor() {
03593   _cached_size_ = 0;
03594   collation_id_ = 0u;
03595   collation_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
03596   ::memset(_has_bits_, 0, sizeof(_has_bits_));
03597 }
03598 
03599 Table_Field_EnumerationValues::~Table_Field_EnumerationValues() {
03600   SharedDtor();
03601 }
03602 
03603 void Table_Field_EnumerationValues::SharedDtor() {
03604   if (collation_ != &::google::protobuf::internal::kEmptyString) {
03605     delete collation_;
03606   }
03607   if (this != default_instance_) {
03608   }
03609 }
03610 
03611 void Table_Field_EnumerationValues::SetCachedSize(int size) const {
03612   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
03613   _cached_size_ = size;
03614   GOOGLE_SAFE_CONCURRENT_WRITES_END();
03615 }
03616 const ::google::protobuf::Descriptor* Table_Field_EnumerationValues::descriptor() {
03617   protobuf_AssignDescriptorsOnce();
03618   return Table_Field_EnumerationValues_descriptor_;
03619 }
03620 
03621 const Table_Field_EnumerationValues& Table_Field_EnumerationValues::default_instance() {
03622   if (default_instance_ == NULL) protobuf_AddDesc_table_2eproto();  return *default_instance_;
03623 }
03624 
03625 Table_Field_EnumerationValues* Table_Field_EnumerationValues::default_instance_ = NULL;
03626 
03627 Table_Field_EnumerationValues* Table_Field_EnumerationValues::New() const {
03628   return new Table_Field_EnumerationValues;
03629 }
03630 
03631 void Table_Field_EnumerationValues::Clear() {
03632   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
03633     collation_id_ = 0u;
03634     if (has_collation()) {
03635       if (collation_ != &::google::protobuf::internal::kEmptyString) {
03636         collation_->clear();
03637       }
03638     }
03639   }
03640   field_value_.Clear();
03641   ::memset(_has_bits_, 0, sizeof(_has_bits_));
03642   mutable_unknown_fields()->Clear();
03643 }
03644 
03645 bool Table_Field_EnumerationValues::MergePartialFromCodedStream(
03646     ::google::protobuf::io::CodedInputStream* input) {
03647 #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
03648   ::google::protobuf::uint32 tag;
03649   while ((tag = input->ReadTag()) != 0) {
03650     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
03651       // optional uint32 collation_id = 2;
03652       case 2: {
03653         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
03654             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
03655           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
03656                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
03657                  input, &collation_id_)));
03658           set_has_collation_id();
03659         } else {
03660           goto handle_uninterpreted;
03661         }
03662         if (input->ExpectTag(26)) goto parse_collation;
03663         break;
03664       }
03665       
03666       // optional string collation = 3;
03667       case 3: {
03668         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
03669             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
03670          parse_collation:
03671           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
03672                 input, this->mutable_collation()));
03673           ::google::protobuf::internal::WireFormat::VerifyUTF8String(
03674             this->collation().data(), this->collation().length(),
03675             ::google::protobuf::internal::WireFormat::PARSE);
03676         } else {
03677           goto handle_uninterpreted;
03678         }
03679         if (input->ExpectTag(34)) goto parse_field_value;
03680         break;
03681       }
03682       
03683       // repeated string field_value = 4;
03684       case 4: {
03685         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
03686             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
03687          parse_field_value:
03688           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
03689                 input, this->add_field_value()));
03690           ::google::protobuf::internal::WireFormat::VerifyUTF8String(
03691             this->field_value(0).data(), this->field_value(0).length(),
03692             ::google::protobuf::internal::WireFormat::PARSE);
03693         } else {
03694           goto handle_uninterpreted;
03695         }
03696         if (input->ExpectTag(34)) goto parse_field_value;
03697         if (input->ExpectAtEnd()) return true;
03698         break;
03699       }
03700       
03701       default: {
03702       handle_uninterpreted:
03703         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
03704             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
03705           return true;
03706         }
03707         DO_(::google::protobuf::internal::WireFormat::SkipField(
03708               input, tag, mutable_unknown_fields()));
03709         break;
03710       }
03711     }
03712   }
03713   return true;
03714 #undef DO_
03715 }
03716 
03717 void Table_Field_EnumerationValues::SerializeWithCachedSizes(
03718     ::google::protobuf::io::CodedOutputStream* output) const {
03719   // optional uint32 collation_id = 2;
03720   if (has_collation_id()) {
03721     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->collation_id(), output);
03722   }
03723   
03724   // optional string collation = 3;
03725   if (has_collation()) {
03726     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
03727       this->collation().data(), this->collation().length(),
03728       ::google::protobuf::internal::WireFormat::SERIALIZE);
03729     ::google::protobuf::internal::WireFormatLite::WriteString(
03730       3, this->collation(), output);
03731   }
03732   
03733   // repeated string field_value = 4;
03734   for (int i = 0; i < this->field_value_size(); i++) {
03735   ::google::protobuf::internal::WireFormat::VerifyUTF8String(
03736     this->field_value(i).data(), this->field_value(i).length(),
03737     ::google::protobuf::internal::WireFormat::SERIALIZE);
03738     ::google::protobuf::internal::WireFormatLite::WriteString(
03739       4, this->field_value(i), output);
03740   }
03741   
03742   if (!unknown_fields().empty()) {
03743     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
03744         unknown_fields(), output);
03745   }
03746 }
03747 
03748 ::google::protobuf::uint8* Table_Field_EnumerationValues::SerializeWithCachedSizesToArray(
03749     ::google::protobuf::uint8* target) const {
03750   // optional uint32 collation_id = 2;
03751   if (has_collation_id()) {
03752     target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->collation_id(), target);
03753   }
03754   
03755   // optional string collation = 3;
03756   if (has_collation()) {
03757     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
03758       this->collation().data(), this->collation().length(),
03759       ::google::protobuf::internal::WireFormat::SERIALIZE);
03760     target =
03761       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
03762         3, this->collation(), target);
03763   }
03764   
03765   // repeated string field_value = 4;
03766   for (int i = 0; i < this->field_value_size(); i++) {
03767     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
03768       this->field_value(i).data(), this->field_value(i).length(),
03769       ::google::protobuf::internal::WireFormat::SERIALIZE);
03770     target = ::google::protobuf::internal::WireFormatLite::
03771       WriteStringToArray(4, this->field_value(i), target);
03772   }
03773   
03774   if (!unknown_fields().empty()) {
03775     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
03776         unknown_fields(), target);
03777   }
03778   return target;
03779 }
03780 
03781 int Table_Field_EnumerationValues::ByteSize() const {
03782   int total_size = 0;
03783   
03784   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
03785     // optional uint32 collation_id = 2;
03786     if (has_collation_id()) {
03787       total_size += 1 +
03788         ::google::protobuf::internal::WireFormatLite::UInt32Size(
03789           this->collation_id());
03790     }
03791     
03792     // optional string collation = 3;
03793     if (has_collation()) {
03794       total_size += 1 +
03795         ::google::protobuf::internal::WireFormatLite::StringSize(
03796           this->collation());
03797     }
03798     
03799   }
03800   // repeated string field_value = 4;
03801   total_size += 1 * this->field_value_size();
03802   for (int i = 0; i < this->field_value_size(); i++) {
03803     total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
03804       this->field_value(i));
03805   }
03806   
03807   if (!unknown_fields().empty()) {
03808     total_size +=
03809       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
03810         unknown_fields());
03811   }
03812   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
03813   _cached_size_ = total_size;
03814   GOOGLE_SAFE_CONCURRENT_WRITES_END();
03815   return total_size;
03816 }
03817 
03818 void Table_Field_EnumerationValues::MergeFrom(const ::google::protobuf::Message& from) {
03819   GOOGLE_CHECK_NE(&from, this);
03820   const Table_Field_EnumerationValues* source =
03821     ::google::protobuf::internal::dynamic_cast_if_available<const Table_Field_EnumerationValues*>(
03822       &from);
03823   if (source == NULL) {
03824     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
03825   } else {
03826     MergeFrom(*source);
03827   }
03828 }
03829 
03830 void Table_Field_EnumerationValues::MergeFrom(const Table_Field_EnumerationValues& from) {
03831   GOOGLE_CHECK_NE(&from, this);
03832   field_value_.MergeFrom(from.field_value_);
03833   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
03834     if (from.has_collation_id()) {
03835       set_collation_id(from.collation_id());
03836     }
03837     if (from.has_collation()) {
03838       set_collation(from.collation());
03839     }
03840   }
03841   mutable_unknown_fields()->MergeFrom(from.unknown_fields());
03842 }
03843 
03844 void Table_Field_EnumerationValues::CopyFrom(const ::google::protobuf::Message& from) {
03845   if (&from == this) return;
03846   Clear();
03847   MergeFrom(from);
03848 }
03849 
03850 void Table_Field_EnumerationValues::CopyFrom(const Table_Field_EnumerationValues& from) {
03851   if (&from == this) return;
03852   Clear();
03853   MergeFrom(from);
03854 }
03855 
03856 bool Table_Field_EnumerationValues::IsInitialized() const {
03857   
03858   return true;
03859 }
03860 
03861 void Table_Field_EnumerationValues::Swap(Table_Field_EnumerationValues* other) {
03862   if (other != this) {
03863     std::swap(collation_id_, other->collation_id_);
03864     std::swap(collation_, other->collation_);
03865     field_value_.Swap(&other->field_value_);
03866     std::swap(_has_bits_[0], other->_has_bits_[0]);
03867     _unknown_fields_.Swap(&other->_unknown_fields_);
03868     std::swap(_cached_size_, other->_cached_size_);
03869   }
03870 }
03871 
03872 ::google::protobuf::Metadata Table_Field_EnumerationValues::GetMetadata() const {
03873   protobuf_AssignDescriptorsOnce();
03874   ::google::protobuf::Metadata metadata;
03875   metadata.descriptor = Table_Field_EnumerationValues_descriptor_;
03876   metadata.reflection = Table_Field_EnumerationValues_reflection_;
03877   return metadata;
03878 }
03879 
03880 
03881 // -------------------------------------------------------------------
03882 
03883 #ifndef _MSC_VER
03884 const int Table_Field_TimeFieldOptions::kMicrosecondsFieldNumber;
03885 #endif  // !_MSC_VER
03886 
03887 Table_Field_TimeFieldOptions::Table_Field_TimeFieldOptions()
03888   : ::google::protobuf::Message() {
03889   SharedCtor();
03890 }
03891 
03892 void Table_Field_TimeFieldOptions::InitAsDefaultInstance() {
03893 }
03894 
03895 Table_Field_TimeFieldOptions::Table_Field_TimeFieldOptions(const Table_Field_TimeFieldOptions& from)
03896   : ::google::protobuf::Message() {
03897   SharedCtor();
03898   MergeFrom(from);
03899 }
03900 
03901 void Table_Field_TimeFieldOptions::SharedCtor() {
03902   _cached_size_ = 0;
03903   microseconds_ = false;
03904   ::memset(_has_bits_, 0, sizeof(_has_bits_));
03905 }
03906 
03907 Table_Field_TimeFieldOptions::~Table_Field_TimeFieldOptions() {
03908   SharedDtor();
03909 }
03910 
03911 void Table_Field_TimeFieldOptions::SharedDtor() {
03912   if (this != default_instance_) {
03913   }
03914 }
03915 
03916 void Table_Field_TimeFieldOptions::SetCachedSize(int size) const {
03917   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
03918   _cached_size_ = size;
03919   GOOGLE_SAFE_CONCURRENT_WRITES_END();
03920 }
03921 const ::google::protobuf::Descriptor* Table_Field_TimeFieldOptions::descriptor() {
03922   protobuf_AssignDescriptorsOnce();
03923   return Table_Field_TimeFieldOptions_descriptor_;
03924 }
03925 
03926 const Table_Field_TimeFieldOptions& Table_Field_TimeFieldOptions::default_instance() {
03927   if (default_instance_ == NULL) protobuf_AddDesc_table_2eproto();  return *default_instance_;
03928 }
03929 
03930 Table_Field_TimeFieldOptions* Table_Field_TimeFieldOptions::default_instance_ = NULL;
03931 
03932 Table_Field_TimeFieldOptions* Table_Field_TimeFieldOptions::New() const {
03933   return new Table_Field_TimeFieldOptions;
03934 }
03935 
03936 void Table_Field_TimeFieldOptions::Clear() {
03937   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
03938     microseconds_ = false;
03939   }
03940   ::memset(_has_bits_, 0, sizeof(_has_bits_));
03941   mutable_unknown_fields()->Clear();
03942 }
03943 
03944 bool Table_Field_TimeFieldOptions::MergePartialFromCodedStream(
03945     ::google::protobuf::io::CodedInputStream* input) {
03946 #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
03947   ::google::protobuf::uint32 tag;
03948   while ((tag = input->ReadTag()) != 0) {
03949     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
03950       // optional bool microseconds = 1;
03951       case 1: {
03952         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
03953             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
03954           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
03955                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
03956                  input, &microseconds_)));
03957           set_has_microseconds();
03958         } else {
03959           goto handle_uninterpreted;
03960         }
03961         if (input->ExpectAtEnd()) return true;
03962         break;
03963       }
03964       
03965       default: {
03966       handle_uninterpreted:
03967         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
03968             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
03969           return true;
03970         }
03971         DO_(::google::protobuf::internal::WireFormat::SkipField(
03972               input, tag, mutable_unknown_fields()));
03973         break;
03974       }
03975     }
03976   }
03977   return true;
03978 #undef DO_
03979 }
03980 
03981 void Table_Field_TimeFieldOptions::SerializeWithCachedSizes(
03982     ::google::protobuf::io::CodedOutputStream* output) const {
03983   // optional bool microseconds = 1;
03984   if (has_microseconds()) {
03985     ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->microseconds(), output);
03986   }
03987   
03988   if (!unknown_fields().empty()) {
03989     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
03990         unknown_fields(), output);
03991   }
03992 }
03993 
03994 ::google::protobuf::uint8* Table_Field_TimeFieldOptions::SerializeWithCachedSizesToArray(
03995     ::google::protobuf::uint8* target) const {
03996   // optional bool microseconds = 1;
03997   if (has_microseconds()) {
03998     target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->microseconds(), target);
03999   }
04000   
04001   if (!unknown_fields().empty()) {
04002     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
04003         unknown_fields(), target);
04004   }
04005   return target;
04006 }
04007 
04008 int Table_Field_TimeFieldOptions::ByteSize() const {
04009   int total_size = 0;
04010   
04011   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
04012     // optional bool microseconds = 1;
04013     if (has_microseconds()) {
04014       total_size += 1 + 1;
04015     }
04016     
04017   }
04018   if (!unknown_fields().empty()) {
04019     total_size +=
04020       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
04021         unknown_fields());
04022   }
04023   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
04024   _cached_size_ = total_size;
04025   GOOGLE_SAFE_CONCURRENT_WRITES_END();
04026   return total_size;
04027 }
04028 
04029 void Table_Field_TimeFieldOptions::MergeFrom(const ::google::protobuf::Message& from) {
04030   GOOGLE_CHECK_NE(&from, this);
04031   const Table_Field_TimeFieldOptions* source =
04032     ::google::protobuf::internal::dynamic_cast_if_available<const Table_Field_TimeFieldOptions*>(
04033       &from);
04034   if (source == NULL) {
04035     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
04036   } else {
04037     MergeFrom(*source);
04038   }
04039 }
04040 
04041 void Table_Field_TimeFieldOptions::MergeFrom(const Table_Field_TimeFieldOptions& from) {
04042   GOOGLE_CHECK_NE(&from, this);
04043   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
04044     if (from.has_microseconds()) {
04045       set_microseconds(from.microseconds());
04046     }
04047   }
04048   mutable_unknown_fields()->MergeFrom(from.unknown_fields());
04049 }
04050 
04051 void Table_Field_TimeFieldOptions::CopyFrom(const ::google::protobuf::Message& from) {
04052   if (&from == this) return;
04053   Clear();
04054   MergeFrom(from);
04055 }
04056 
04057 void Table_Field_TimeFieldOptions::CopyFrom(const Table_Field_TimeFieldOptions& from) {
04058   if (&from == this) return;
04059   Clear();
04060   MergeFrom(from);
04061 }
04062 
04063 bool Table_Field_TimeFieldOptions::IsInitialized() const {
04064   
04065   return true;
04066 }
04067 
04068 void Table_Field_TimeFieldOptions::Swap(Table_Field_TimeFieldOptions* other) {
04069   if (other != this) {
04070     std::swap(microseconds_, other->microseconds_);
04071     std::swap(_has_bits_[0], other->_has_bits_[0]);
04072     _unknown_fields_.Swap(&other->_unknown_fields_);
04073     std::swap(_cached_size_, other->_cached_size_);
04074   }
04075 }
04076 
04077 ::google::protobuf::Metadata Table_Field_TimeFieldOptions::GetMetadata() const {
04078   protobuf_AssignDescriptorsOnce();
04079   ::google::protobuf::Metadata metadata;
04080   metadata.descriptor = Table_Field_TimeFieldOptions_descriptor_;
04081   metadata.reflection = Table_Field_TimeFieldOptions_reflection_;
04082   return metadata;
04083 }
04084 
04085 
04086 // -------------------------------------------------------------------
04087 
04088 #ifndef _MSC_VER
04089 const int Table_Field::kNameFieldNumber;
04090 const int Table_Field::kTypeFieldNumber;
04091 const int Table_Field::kOptionsFieldNumber;
04092 const int Table_Field::kConstraintsFieldNumber;
04093 const int Table_Field::kNumericOptionsFieldNumber;
04094 const int Table_Field::kStringOptionsFieldNumber;
04095 const int Table_Field::kTimeOptionsFieldNumber;
04096 const int Table_Field::kCommentFieldNumber;
04097 const int Table_Field::kEnumerationValuesFieldNumber;
04098 #endif  // !_MSC_VER
04099 
04100 Table_Field::Table_Field()
04101   : ::google::protobuf::Message() {
04102   SharedCtor();
04103 }
04104 
04105 void Table_Field::InitAsDefaultInstance() {
04106   options_ = const_cast< ::drizzled::message::Table_Field_FieldOptions*>(&::drizzled::message::Table_Field_FieldOptions::default_instance());
04107   constraints_ = const_cast< ::drizzled::message::Table_Field_FieldConstraints*>(&::drizzled::message::Table_Field_FieldConstraints::default_instance());
04108   numeric_options_ = const_cast< ::drizzled::message::Table_Field_NumericFieldOptions*>(&::drizzled::message::Table_Field_NumericFieldOptions::default_instance());
04109   string_options_ = const_cast< ::drizzled::message::Table_Field_StringFieldOptions*>(&::drizzled::message::Table_Field_StringFieldOptions::default_instance());
04110   time_options_ = const_cast< ::drizzled::message::Table_Field_TimeFieldOptions*>(&::drizzled::message::Table_Field_TimeFieldOptions::default_instance());
04111   enumeration_values_ = const_cast< ::drizzled::message::Table_Field_EnumerationValues*>(&::drizzled::message::Table_Field_EnumerationValues::default_instance());
04112 }
04113 
04114 Table_Field::Table_Field(const Table_Field& from)
04115   : ::google::protobuf::Message() {
04116   SharedCtor();
04117   MergeFrom(from);
04118 }
04119 
04120 void Table_Field::SharedCtor() {
04121   _cached_size_ = 0;
04122   name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
04123   type_ = 0;
04124   options_ = NULL;
04125   constraints_ = NULL;
04126   numeric_options_ = NULL;
04127   string_options_ = NULL;
04128   time_options_ = NULL;
04129   comment_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
04130   enumeration_values_ = NULL;
04131   ::memset(_has_bits_, 0, sizeof(_has_bits_));
04132 }
04133 
04134 Table_Field::~Table_Field() {
04135   SharedDtor();
04136 }
04137 
04138 void Table_Field::SharedDtor() {
04139   if (name_ != &::google::protobuf::internal::kEmptyString) {
04140     delete name_;
04141   }
04142   if (comment_ != &::google::protobuf::internal::kEmptyString) {
04143     delete comment_;
04144   }
04145   if (this != default_instance_) {
04146     delete options_;
04147     delete constraints_;
04148     delete numeric_options_;
04149     delete string_options_;
04150     delete time_options_;
04151     delete enumeration_values_;
04152   }
04153 }
04154 
04155 void Table_Field::SetCachedSize(int size) const {
04156   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
04157   _cached_size_ = size;
04158   GOOGLE_SAFE_CONCURRENT_WRITES_END();
04159 }
04160 const ::google::protobuf::Descriptor* Table_Field::descriptor() {
04161   protobuf_AssignDescriptorsOnce();
04162   return Table_Field_descriptor_;
04163 }
04164 
04165 const Table_Field& Table_Field::default_instance() {
04166   if (default_instance_ == NULL) protobuf_AddDesc_table_2eproto();  return *default_instance_;
04167 }
04168 
04169 Table_Field* Table_Field::default_instance_ = NULL;
04170 
04171 Table_Field* Table_Field::New() const {
04172   return new Table_Field;
04173 }
04174 
04175 void Table_Field::Clear() {
04176   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
04177     if (has_name()) {
04178       if (name_ != &::google::protobuf::internal::kEmptyString) {
04179         name_->clear();
04180       }
04181     }
04182     type_ = 0;
04183     if (has_options()) {
04184       if (options_ != NULL) options_->::drizzled::message::Table_Field_FieldOptions::Clear();
04185     }
04186     if (has_constraints()) {
04187       if (constraints_ != NULL) constraints_->::drizzled::message::Table_Field_FieldConstraints::Clear();
04188     }
04189     if (has_numeric_options()) {
04190       if (numeric_options_ != NULL) numeric_options_->::drizzled::message::Table_Field_NumericFieldOptions::Clear();
04191     }
04192     if (has_string_options()) {
04193       if (string_options_ != NULL) string_options_->::drizzled::message::Table_Field_StringFieldOptions::Clear();
04194     }
04195     if (has_time_options()) {
04196       if (time_options_ != NULL) time_options_->::drizzled::message::Table_Field_TimeFieldOptions::Clear();
04197     }
04198     if (has_comment()) {
04199       if (comment_ != &::google::protobuf::internal::kEmptyString) {
04200         comment_->clear();
04201       }
04202     }
04203   }
04204   if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
04205     if (has_enumeration_values()) {
04206       if (enumeration_values_ != NULL) enumeration_values_->::drizzled::message::Table_Field_EnumerationValues::Clear();
04207     }
04208   }
04209   ::memset(_has_bits_, 0, sizeof(_has_bits_));
04210   mutable_unknown_fields()->Clear();
04211 }
04212 
04213 bool Table_Field::MergePartialFromCodedStream(
04214     ::google::protobuf::io::CodedInputStream* input) {
04215 #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
04216   ::google::protobuf::uint32 tag;
04217   while ((tag = input->ReadTag()) != 0) {
04218     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
04219       // required string name = 1;
04220       case 1: {
04221         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
04222             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
04223           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
04224                 input, this->mutable_name()));
04225           ::google::protobuf::internal::WireFormat::VerifyUTF8String(
04226             this->name().data(), this->name().length(),
04227             ::google::protobuf::internal::WireFormat::PARSE);
04228         } else {
04229           goto handle_uninterpreted;
04230         }
04231         if (input->ExpectTag(16)) goto parse_type;
04232         break;
04233       }
04234       
04235       // required .drizzled.message.Table.Field.FieldType type = 2;
04236       case 2: {
04237         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
04238             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
04239          parse_type:
04240           int value;
04241           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
04242                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
04243                  input, &value)));
04244           if (::drizzled::message::Table_Field_FieldType_IsValid(value)) {
04245             set_type(static_cast< ::drizzled::message::Table_Field_FieldType >(value));
04246           } else {
04247             mutable_unknown_fields()->AddVarint(2, value);
04248           }
04249         } else {
04250           goto handle_uninterpreted;
04251         }
04252         if (input->ExpectTag(34)) goto parse_options;
04253         break;
04254       }
04255       
04256       // optional .drizzled.message.Table.Field.FieldOptions options = 4;
04257       case 4: {
04258         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
04259             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
04260          parse_options:
04261           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
04262                input, mutable_options()));
04263         } else {
04264           goto handle_uninterpreted;
04265         }
04266         if (input->ExpectTag(42)) goto parse_constraints;
04267         break;
04268       }
04269       
04270       // optional .drizzled.message.Table.Field.FieldConstraints constraints = 5;
04271       case 5: {
04272         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
04273             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
04274          parse_constraints:
04275           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
04276                input, mutable_constraints()));
04277         } else {
04278           goto handle_uninterpreted;
04279         }
04280         if (input->ExpectTag(50)) goto parse_numeric_options;
04281         break;
04282       }
04283       
04284       // optional .drizzled.message.Table.Field.NumericFieldOptions numeric_options = 6;
04285       case 6: {
04286         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
04287             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
04288          parse_numeric_options:
04289           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
04290                input, mutable_numeric_options()));
04291         } else {
04292           goto handle_uninterpreted;
04293         }
04294         if (input->ExpectTag(58)) goto parse_string_options;
04295         break;
04296       }
04297       
04298       // optional .drizzled.message.Table.Field.StringFieldOptions string_options = 7;
04299       case 7: {
04300         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
04301             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
04302          parse_string_options:
04303           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
04304                input, mutable_string_options()));
04305         } else {
04306           goto handle_uninterpreted;
04307         }
04308         if (input->ExpectTag(66)) goto parse_time_options;
04309         break;
04310       }
04311       
04312       // optional .drizzled.message.Table.Field.TimeFieldOptions time_options = 8;
04313       case 8: {
04314         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
04315             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
04316          parse_time_options:
04317           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
04318                input, mutable_time_options()));
04319         } else {
04320           goto handle_uninterpreted;
04321         }
04322         if (input->ExpectTag(130)) goto parse_comment;
04323         break;
04324       }
04325       
04326       // optional string comment = 16;
04327       case 16: {
04328         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
04329             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
04330          parse_comment:
04331           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
04332                 input, this->mutable_comment()));
04333           ::google::protobuf::internal::WireFormat::VerifyUTF8String(
04334             this->comment().data(), this->comment().length(),
04335             ::google::protobuf::internal::WireFormat::PARSE);
04336         } else {
04337           goto handle_uninterpreted;
04338         }
04339         if (input->ExpectTag(138)) goto parse_enumeration_values;
04340         break;
04341       }
04342       
04343       // optional .drizzled.message.Table.Field.EnumerationValues enumeration_values = 17;
04344       case 17: {
04345         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
04346             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
04347          parse_enumeration_values:
04348           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
04349                input, mutable_enumeration_values()));
04350         } else {
04351           goto handle_uninterpreted;
04352         }
04353         if (input->ExpectAtEnd()) return true;
04354         break;
04355       }
04356       
04357       default: {
04358       handle_uninterpreted:
04359         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
04360             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
04361           return true;
04362         }
04363         DO_(::google::protobuf::internal::WireFormat::SkipField(
04364               input, tag, mutable_unknown_fields()));
04365         break;
04366       }
04367     }
04368   }
04369   return true;
04370 #undef DO_
04371 }
04372 
04373 void Table_Field::SerializeWithCachedSizes(
04374     ::google::protobuf::io::CodedOutputStream* output) const {
04375   // required string name = 1;
04376   if (has_name()) {
04377     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
04378       this->name().data(), this->name().length(),
04379       ::google::protobuf::internal::WireFormat::SERIALIZE);
04380     ::google::protobuf::internal::WireFormatLite::WriteString(
04381       1, this->name(), output);
04382   }
04383   
04384   // required .drizzled.message.Table.Field.FieldType type = 2;
04385   if (has_type()) {
04386     ::google::protobuf::internal::WireFormatLite::WriteEnum(
04387       2, this->type(), output);
04388   }
04389   
04390   // optional .drizzled.message.Table.Field.FieldOptions options = 4;
04391   if (has_options()) {
04392     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
04393       4, this->options(), output);
04394   }
04395   
04396   // optional .drizzled.message.Table.Field.FieldConstraints constraints = 5;
04397   if (has_constraints()) {
04398     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
04399       5, this->constraints(), output);
04400   }
04401   
04402   // optional .drizzled.message.Table.Field.NumericFieldOptions numeric_options = 6;
04403   if (has_numeric_options()) {
04404     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
04405       6, this->numeric_options(), output);
04406   }
04407   
04408   // optional .drizzled.message.Table.Field.StringFieldOptions string_options = 7;
04409   if (has_string_options()) {
04410     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
04411       7, this->string_options(), output);
04412   }
04413   
04414   // optional .drizzled.message.Table.Field.TimeFieldOptions time_options = 8;
04415   if (has_time_options()) {
04416     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
04417       8, this->time_options(), output);
04418   }
04419   
04420   // optional string comment = 16;
04421   if (has_comment()) {
04422     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
04423       this->comment().data(), this->comment().length(),
04424       ::google::protobuf::internal::WireFormat::SERIALIZE);
04425     ::google::protobuf::internal::WireFormatLite::WriteString(
04426       16, this->comment(), output);
04427   }
04428   
04429   // optional .drizzled.message.Table.Field.EnumerationValues enumeration_values = 17;
04430   if (has_enumeration_values()) {
04431     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
04432       17, this->enumeration_values(), output);
04433   }
04434   
04435   if (!unknown_fields().empty()) {
04436     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
04437         unknown_fields(), output);
04438   }
04439 }
04440 
04441 ::google::protobuf::uint8* Table_Field::SerializeWithCachedSizesToArray(
04442     ::google::protobuf::uint8* target) const {
04443   // required string name = 1;
04444   if (has_name()) {
04445     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
04446       this->name().data(), this->name().length(),
04447       ::google::protobuf::internal::WireFormat::SERIALIZE);
04448     target =
04449       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
04450         1, this->name(), target);
04451   }
04452   
04453   // required .drizzled.message.Table.Field.FieldType type = 2;
04454   if (has_type()) {
04455     target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
04456       2, this->type(), target);
04457   }
04458   
04459   // optional .drizzled.message.Table.Field.FieldOptions options = 4;
04460   if (has_options()) {
04461     target = ::google::protobuf::internal::WireFormatLite::
04462       WriteMessageNoVirtualToArray(
04463         4, this->options(), target);
04464   }
04465   
04466   // optional .drizzled.message.Table.Field.FieldConstraints constraints = 5;
04467   if (has_constraints()) {
04468     target = ::google::protobuf::internal::WireFormatLite::
04469       WriteMessageNoVirtualToArray(
04470         5, this->constraints(), target);
04471   }
04472   
04473   // optional .drizzled.message.Table.Field.NumericFieldOptions numeric_options = 6;
04474   if (has_numeric_options()) {
04475     target = ::google::protobuf::internal::WireFormatLite::
04476       WriteMessageNoVirtualToArray(
04477         6, this->numeric_options(), target);
04478   }
04479   
04480   // optional .drizzled.message.Table.Field.StringFieldOptions string_options = 7;
04481   if (has_string_options()) {
04482     target = ::google::protobuf::internal::WireFormatLite::
04483       WriteMessageNoVirtualToArray(
04484         7, this->string_options(), target);
04485   }
04486   
04487   // optional .drizzled.message.Table.Field.TimeFieldOptions time_options = 8;
04488   if (has_time_options()) {
04489     target = ::google::protobuf::internal::WireFormatLite::
04490       WriteMessageNoVirtualToArray(
04491         8, this->time_options(), target);
04492   }
04493   
04494   // optional string comment = 16;
04495   if (has_comment()) {
04496     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
04497       this->comment().data(), this->comment().length(),
04498       ::google::protobuf::internal::WireFormat::SERIALIZE);
04499     target =
04500       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
04501         16, this->comment(), target);
04502   }
04503   
04504   // optional .drizzled.message.Table.Field.EnumerationValues enumeration_values = 17;
04505   if (has_enumeration_values()) {
04506     target = ::google::protobuf::internal::WireFormatLite::
04507       WriteMessageNoVirtualToArray(
04508         17, this->enumeration_values(), target);
04509   }
04510   
04511   if (!unknown_fields().empty()) {
04512     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
04513         unknown_fields(), target);
04514   }
04515   return target;
04516 }
04517 
04518 int Table_Field::ByteSize() const {
04519   int total_size = 0;
04520   
04521   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
04522     // required string name = 1;
04523     if (has_name()) {
04524       total_size += 1 +
04525         ::google::protobuf::internal::WireFormatLite::StringSize(
04526           this->name());
04527     }
04528     
04529     // required .drizzled.message.Table.Field.FieldType type = 2;
04530     if (has_type()) {
04531       total_size += 1 +
04532         ::google::protobuf::internal::WireFormatLite::EnumSize(this->type());
04533     }
04534     
04535     // optional .drizzled.message.Table.Field.FieldOptions options = 4;
04536     if (has_options()) {
04537       total_size += 1 +
04538         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
04539           this->options());
04540     }
04541     
04542     // optional .drizzled.message.Table.Field.FieldConstraints constraints = 5;
04543     if (has_constraints()) {
04544       total_size += 1 +
04545         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
04546           this->constraints());
04547     }
04548     
04549     // optional .drizzled.message.Table.Field.NumericFieldOptions numeric_options = 6;
04550     if (has_numeric_options()) {
04551       total_size += 1 +
04552         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
04553           this->numeric_options());
04554     }
04555     
04556     // optional .drizzled.message.Table.Field.StringFieldOptions string_options = 7;
04557     if (has_string_options()) {
04558       total_size += 1 +
04559         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
04560           this->string_options());
04561     }
04562     
04563     // optional .drizzled.message.Table.Field.TimeFieldOptions time_options = 8;
04564     if (has_time_options()) {
04565       total_size += 1 +
04566         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
04567           this->time_options());
04568     }
04569     
04570     // optional string comment = 16;
04571     if (has_comment()) {
04572       total_size += 2 +
04573         ::google::protobuf::internal::WireFormatLite::StringSize(
04574           this->comment());
04575     }
04576     
04577   }
04578   if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
04579     // optional .drizzled.message.Table.Field.EnumerationValues enumeration_values = 17;
04580     if (has_enumeration_values()) {
04581       total_size += 2 +
04582         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
04583           this->enumeration_values());
04584     }
04585     
04586   }
04587   if (!unknown_fields().empty()) {
04588     total_size +=
04589       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
04590         unknown_fields());
04591   }
04592   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
04593   _cached_size_ = total_size;
04594   GOOGLE_SAFE_CONCURRENT_WRITES_END();
04595   return total_size;
04596 }
04597 
04598 void Table_Field::MergeFrom(const ::google::protobuf::Message& from) {
04599   GOOGLE_CHECK_NE(&from, this);
04600   const Table_Field* source =
04601     ::google::protobuf::internal::dynamic_cast_if_available<const Table_Field*>(
04602       &from);
04603   if (source == NULL) {
04604     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
04605   } else {
04606     MergeFrom(*source);
04607   }
04608 }
04609 
04610 void Table_Field::MergeFrom(const Table_Field& from) {
04611   GOOGLE_CHECK_NE(&from, this);
04612   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
04613     if (from.has_name()) {
04614       set_name(from.name());
04615     }
04616     if (from.has_type()) {
04617       set_type(from.type());
04618     }
04619     if (from.has_options()) {
04620       mutable_options()->::drizzled::message::Table_Field_FieldOptions::MergeFrom(from.options());
04621     }
04622     if (from.has_constraints()) {
04623       mutable_constraints()->::drizzled::message::Table_Field_FieldConstraints::MergeFrom(from.constraints());
04624     }
04625     if (from.has_numeric_options()) {
04626       mutable_numeric_options()->::drizzled::message::Table_Field_NumericFieldOptions::MergeFrom(from.numeric_options());
04627     }
04628     if (from.has_string_options()) {
04629       mutable_string_options()->::drizzled::message::Table_Field_StringFieldOptions::MergeFrom(from.string_options());
04630     }
04631     if (from.has_time_options()) {
04632       mutable_time_options()->::drizzled::message::Table_Field_TimeFieldOptions::MergeFrom(from.time_options());
04633     }
04634     if (from.has_comment()) {
04635       set_comment(from.comment());
04636     }
04637   }
04638   if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
04639     if (from.has_enumeration_values()) {
04640       mutable_enumeration_values()->::drizzled::message::Table_Field_EnumerationValues::MergeFrom(from.enumeration_values());
04641     }
04642   }
04643   mutable_unknown_fields()->MergeFrom(from.unknown_fields());
04644 }
04645 
04646 void Table_Field::CopyFrom(const ::google::protobuf::Message& from) {
04647   if (&from == this) return;
04648   Clear();
04649   MergeFrom(from);
04650 }
04651 
04652 void Table_Field::CopyFrom(const Table_Field& from) {
04653   if (&from == this) return;
04654   Clear();
04655   MergeFrom(from);
04656 }
04657 
04658 bool Table_Field::IsInitialized() const {
04659   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
04660   
04661   return true;
04662 }
04663 
04664 void Table_Field::Swap(Table_Field* other) {
04665   if (other != this) {
04666     std::swap(name_, other->name_);
04667     std::swap(type_, other->type_);
04668     std::swap(options_, other->options_);
04669     std::swap(constraints_, other->constraints_);
04670     std::swap(numeric_options_, other->numeric_options_);
04671     std::swap(string_options_, other->string_options_);
04672     std::swap(time_options_, other->time_options_);
04673     std::swap(comment_, other->comment_);
04674     std::swap(enumeration_values_, other->enumeration_values_);
04675     std::swap(_has_bits_[0], other->_has_bits_[0]);
04676     _unknown_fields_.Swap(&other->_unknown_fields_);
04677     std::swap(_cached_size_, other->_cached_size_);
04678   }
04679 }
04680 
04681 ::google::protobuf::Metadata Table_Field::GetMetadata() const {
04682   protobuf_AssignDescriptorsOnce();
04683   ::google::protobuf::Metadata metadata;
04684   metadata.descriptor = Table_Field_descriptor_;
04685   metadata.reflection = Table_Field_reflection_;
04686   return metadata;
04687 }
04688 
04689 
04690 // -------------------------------------------------------------------
04691 
04692 const ::google::protobuf::EnumDescriptor* Table_Index_IndexType_descriptor() {
04693   protobuf_AssignDescriptorsOnce();
04694   return Table_Index_IndexType_descriptor_;
04695 }
04696 bool Table_Index_IndexType_IsValid(int value) {
04697   switch(value) {
04698     case 0:
04699     case 1:
04700     case 2:
04701     case 3:
04702     case 4:
04703       return true;
04704     default:
04705       return false;
04706   }
04707 }
04708 
04709 #ifndef _MSC_VER
04710 const Table_Index_IndexType Table_Index::UNKNOWN_INDEX;
04711 const Table_Index_IndexType Table_Index::BTREE;
04712 const Table_Index_IndexType Table_Index::RTREE;
04713 const Table_Index_IndexType Table_Index::HASH;
04714 const Table_Index_IndexType Table_Index::FULLTEXT;
04715 const Table_Index_IndexType Table_Index::IndexType_MIN;
04716 const Table_Index_IndexType Table_Index::IndexType_MAX;
04717 const int Table_Index::IndexType_ARRAYSIZE;
04718 #endif  // _MSC_VER
04719 #ifndef _MSC_VER
04720 const int Table_Index_IndexPart::kFieldnrFieldNumber;
04721 const int Table_Index_IndexPart::kCompareLengthFieldNumber;
04722 const int Table_Index_IndexPart::kInReverseOrderFieldNumber;
04723 #endif  // !_MSC_VER
04724 
04725 Table_Index_IndexPart::Table_Index_IndexPart()
04726   : ::google::protobuf::Message() {
04727   SharedCtor();
04728 }
04729 
04730 void Table_Index_IndexPart::InitAsDefaultInstance() {
04731 }
04732 
04733 Table_Index_IndexPart::Table_Index_IndexPart(const Table_Index_IndexPart& from)
04734   : ::google::protobuf::Message() {
04735   SharedCtor();
04736   MergeFrom(from);
04737 }
04738 
04739 void Table_Index_IndexPart::SharedCtor() {
04740   _cached_size_ = 0;
04741   fieldnr_ = 0u;
04742   compare_length_ = 0u;
04743   in_reverse_order_ = false;
04744   ::memset(_has_bits_, 0, sizeof(_has_bits_));
04745 }
04746 
04747 Table_Index_IndexPart::~Table_Index_IndexPart() {
04748   SharedDtor();
04749 }
04750 
04751 void Table_Index_IndexPart::SharedDtor() {
04752   if (this != default_instance_) {
04753   }
04754 }
04755 
04756 void Table_Index_IndexPart::SetCachedSize(int size) const {
04757   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
04758   _cached_size_ = size;
04759   GOOGLE_SAFE_CONCURRENT_WRITES_END();
04760 }
04761 const ::google::protobuf::Descriptor* Table_Index_IndexPart::descriptor() {
04762   protobuf_AssignDescriptorsOnce();
04763   return Table_Index_IndexPart_descriptor_;
04764 }
04765 
04766 const Table_Index_IndexPart& Table_Index_IndexPart::default_instance() {
04767   if (default_instance_ == NULL) protobuf_AddDesc_table_2eproto();  return *default_instance_;
04768 }
04769 
04770 Table_Index_IndexPart* Table_Index_IndexPart::default_instance_ = NULL;
04771 
04772 Table_Index_IndexPart* Table_Index_IndexPart::New() const {
04773   return new Table_Index_IndexPart;
04774 }
04775 
04776 void Table_Index_IndexPart::Clear() {
04777   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
04778     fieldnr_ = 0u;
04779     compare_length_ = 0u;
04780     in_reverse_order_ = false;
04781   }
04782   ::memset(_has_bits_, 0, sizeof(_has_bits_));
04783   mutable_unknown_fields()->Clear();
04784 }
04785 
04786 bool Table_Index_IndexPart::MergePartialFromCodedStream(
04787     ::google::protobuf::io::CodedInputStream* input) {
04788 #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
04789   ::google::protobuf::uint32 tag;
04790   while ((tag = input->ReadTag()) != 0) {
04791     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
04792       // required uint32 fieldnr = 1;
04793       case 1: {
04794         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
04795             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
04796           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
04797                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
04798                  input, &fieldnr_)));
04799           set_has_fieldnr();
04800         } else {
04801           goto handle_uninterpreted;
04802         }
04803         if (input->ExpectTag(16)) goto parse_compare_length;
04804         break;
04805       }
04806       
04807       // optional uint32 compare_length = 2;
04808       case 2: {
04809         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
04810             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
04811          parse_compare_length:
04812           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
04813                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
04814                  input, &compare_length_)));
04815           set_has_compare_length();
04816         } else {
04817           goto handle_uninterpreted;
04818         }
04819         if (input->ExpectTag(24)) goto parse_in_reverse_order;
04820         break;
04821       }
04822       
04823       // optional bool in_reverse_order = 3 [default = false];
04824       case 3: {
04825         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
04826             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
04827          parse_in_reverse_order:
04828           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
04829                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
04830                  input, &in_reverse_order_)));
04831           set_has_in_reverse_order();
04832         } else {
04833           goto handle_uninterpreted;
04834         }
04835         if (input->ExpectAtEnd()) return true;
04836         break;
04837       }
04838       
04839       default: {
04840       handle_uninterpreted:
04841         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
04842             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
04843           return true;
04844         }
04845         DO_(::google::protobuf::internal::WireFormat::SkipField(
04846               input, tag, mutable_unknown_fields()));
04847         break;
04848       }
04849     }
04850   }
04851   return true;
04852 #undef DO_
04853 }
04854 
04855 void Table_Index_IndexPart::SerializeWithCachedSizes(
04856     ::google::protobuf::io::CodedOutputStream* output) const {
04857   // required uint32 fieldnr = 1;
04858   if (has_fieldnr()) {
04859     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->fieldnr(), output);
04860   }
04861   
04862   // optional uint32 compare_length = 2;
04863   if (has_compare_length()) {
04864     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->compare_length(), output);
04865   }
04866   
04867   // optional bool in_reverse_order = 3 [default = false];
04868   if (has_in_reverse_order()) {
04869     ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->in_reverse_order(), output);
04870   }
04871   
04872   if (!unknown_fields().empty()) {
04873     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
04874         unknown_fields(), output);
04875   }
04876 }
04877 
04878 ::google::protobuf::uint8* Table_Index_IndexPart::SerializeWithCachedSizesToArray(
04879     ::google::protobuf::uint8* target) const {
04880   // required uint32 fieldnr = 1;
04881   if (has_fieldnr()) {
04882     target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->fieldnr(), target);
04883   }
04884   
04885   // optional uint32 compare_length = 2;
04886   if (has_compare_length()) {
04887     target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->compare_length(), target);
04888   }
04889   
04890   // optional bool in_reverse_order = 3 [default = false];
04891   if (has_in_reverse_order()) {
04892     target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->in_reverse_order(), target);
04893   }
04894   
04895   if (!unknown_fields().empty()) {
04896     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
04897         unknown_fields(), target);
04898   }
04899   return target;
04900 }
04901 
04902 int Table_Index_IndexPart::ByteSize() const {
04903   int total_size = 0;
04904   
04905   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
04906     // required uint32 fieldnr = 1;
04907     if (has_fieldnr()) {
04908       total_size += 1 +
04909         ::google::protobuf::internal::WireFormatLite::UInt32Size(
04910           this->fieldnr());
04911     }
04912     
04913     // optional uint32 compare_length = 2;
04914     if (has_compare_length()) {
04915       total_size += 1 +
04916         ::google::protobuf::internal::WireFormatLite::UInt32Size(
04917           this->compare_length());
04918     }
04919     
04920     // optional bool in_reverse_order = 3 [default = false];
04921     if (has_in_reverse_order()) {
04922       total_size += 1 + 1;
04923     }
04924     
04925   }
04926   if (!unknown_fields().empty()) {
04927     total_size +=
04928       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
04929         unknown_fields());
04930   }
04931   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
04932   _cached_size_ = total_size;
04933   GOOGLE_SAFE_CONCURRENT_WRITES_END();
04934   return total_size;
04935 }
04936 
04937 void Table_Index_IndexPart::MergeFrom(const ::google::protobuf::Message& from) {
04938   GOOGLE_CHECK_NE(&from, this);
04939   const Table_Index_IndexPart* source =
04940     ::google::protobuf::internal::dynamic_cast_if_available<const Table_Index_IndexPart*>(
04941       &from);
04942   if (source == NULL) {
04943     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
04944   } else {
04945     MergeFrom(*source);
04946   }
04947 }
04948 
04949 void Table_Index_IndexPart::MergeFrom(const Table_Index_IndexPart& from) {
04950   GOOGLE_CHECK_NE(&from, this);
04951   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
04952     if (from.has_fieldnr()) {
04953       set_fieldnr(from.fieldnr());
04954     }
04955     if (from.has_compare_length()) {
04956       set_compare_length(from.compare_length());
04957     }
04958     if (from.has_in_reverse_order()) {
04959       set_in_reverse_order(from.in_reverse_order());
04960     }
04961   }
04962   mutable_unknown_fields()->MergeFrom(from.unknown_fields());
04963 }
04964 
04965 void Table_Index_IndexPart::CopyFrom(const ::google::protobuf::Message& from) {
04966   if (&from == this) return;
04967   Clear();
04968   MergeFrom(from);
04969 }
04970 
04971 void Table_Index_IndexPart::CopyFrom(const Table_Index_IndexPart& from) {
04972   if (&from == this) return;
04973   Clear();
04974   MergeFrom(from);
04975 }
04976 
04977 bool Table_Index_IndexPart::IsInitialized() const {
04978   if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
04979   
04980   return true;
04981 }
04982 
04983 void Table_Index_IndexPart::Swap(Table_Index_IndexPart* other) {
04984   if (other != this) {
04985     std::swap(fieldnr_, other->fieldnr_);
04986     std::swap(compare_length_, other->compare_length_);
04987     std::swap(in_reverse_order_, other->in_reverse_order_);
04988     std::swap(_has_bits_[0], other->_has_bits_[0]);
04989     _unknown_fields_.Swap(&other->_unknown_fields_);
04990     std::swap(_cached_size_, other->_cached_size_);
04991   }
04992 }
04993 
04994 ::google::protobuf::Metadata Table_Index_IndexPart::GetMetadata() const {
04995   protobuf_AssignDescriptorsOnce();
04996   ::google::protobuf::Metadata metadata;
04997   metadata.descriptor = Table_Index_IndexPart_descriptor_;
04998   metadata.reflection = Table_Index_IndexPart_reflection_;
04999   return metadata;
05000 }
05001 
05002 
05003 // -------------------------------------------------------------------
05004 
05005 #ifndef _MSC_VER
05006 const int Table_Index_Options::kPackKeyFieldNumber;
05007 const int Table_Index_Options::kBinaryPackKeyFieldNumber;
05008 const int Table_Index_Options::kVarLengthKeyFieldNumber;
05009 const int Table_Index_Options::kNullPartKeyFieldNumber;
05010 const int Table_Index_Options::kKeyBlockSizeFieldNumber;
05011 const int Table_Index_Options::kHasPartialSegmentsFieldNumber;
05012 const int Table_Index_Options::kAutoGeneratedKeyFieldNumber;
05013 #endif  // !_MSC_VER
05014 
05015 Table_Index_Options::Table_Index_Options()
05016   : ::google::protobuf::Message() {
05017   SharedCtor();
05018 }
05019 
05020 void Table_Index_Options::InitAsDefaultInstance() {
05021 }
05022 
05023 Table_Index_Options::Table_Index_Options(const Table_Index_Options& from)
05024   : ::google::protobuf::Message() {
05025   SharedCtor();
05026   MergeFrom(from);
05027 }
05028 
05029 void Table_Index_Options::SharedCtor() {
05030   _cached_size_ = 0;
05031   pack_key_ = false;
05032   binary_pack_key_ = false;
05033   var_length_key_ = false;
05034   null_part_key_ = false;
05035   key_block_size_ = 0u;
05036   has_partial_segments_ = false;
05037   auto_generated_key_ = false;
05038   ::memset(_has_bits_, 0, sizeof(_has_bits_));
05039 }
05040 
05041 Table_Index_Options::~Table_Index_Options() {
05042   SharedDtor();
05043 }
05044 
05045 void Table_Index_Options::SharedDtor() {
05046   if (this != default_instance_) {
05047   }
05048 }
05049 
05050 void Table_Index_Options::SetCachedSize(int size) const {
05051   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
05052   _cached_size_ = size;
05053   GOOGLE_SAFE_CONCURRENT_WRITES_END();
05054 }
05055 const ::google::protobuf::Descriptor* Table_Index_Options::descriptor() {
05056   protobuf_AssignDescriptorsOnce();
05057   return Table_Index_Options_descriptor_;
05058 }
05059 
05060 const Table_Index_Options& Table_Index_Options::default_instance() {
05061   if (default_instance_ == NULL) protobuf_AddDesc_table_2eproto();  return *default_instance_;
05062 }
05063 
05064 Table_Index_Options* Table_Index_Options::default_instance_ = NULL;
05065 
05066 Table_Index_Options* Table_Index_Options::New() const {
05067   return new Table_Index_Options;
05068 }
05069 
05070 void Table_Index_Options::Clear() {
05071   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
05072     pack_key_ = false;
05073     binary_pack_key_ = false;
05074     var_length_key_ = false;
05075     null_part_key_ = false;
05076     key_block_size_ = 0u;
05077     has_partial_segments_ = false;
05078     auto_generated_key_ = false;
05079   }
05080   ::memset(_has_bits_, 0, sizeof(_has_bits_));
05081   mutable_unknown_fields()->Clear();
05082 }
05083 
05084 bool Table_Index_Options::MergePartialFromCodedStream(
05085     ::google::protobuf::io::CodedInputStream* input) {
05086 #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
05087   ::google::protobuf::uint32 tag;
05088   while ((tag = input->ReadTag()) != 0) {
05089     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
05090       // optional bool pack_key = 1;
05091       case 1: {
05092         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
05093             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
05094           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
05095                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
05096                  input, &pack_key_)));
05097           set_has_pack_key();
05098         } else {
05099           goto handle_uninterpreted;
05100         }
05101         if (input->ExpectTag(16)) goto parse_binary_pack_key;
05102         break;
05103       }
05104       
05105       // optional bool binary_pack_key = 2;
05106       case 2: {
05107         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
05108             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
05109          parse_binary_pack_key:
05110           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
05111                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
05112                  input, &binary_pack_key_)));
05113           set_has_binary_pack_key();
05114         } else {
05115           goto handle_uninterpreted;
05116         }
05117         if (input->ExpectTag(24)) goto parse_var_length_key;
05118         break;
05119       }
05120       
05121       // optional bool var_length_key = 3;
05122       case 3: {
05123         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
05124             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
05125          parse_var_length_key:
05126           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
05127                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
05128                  input, &var_length_key_)));
05129           set_has_var_length_key();
05130         } else {
05131           goto handle_uninterpreted;
05132         }
05133         if (input->ExpectTag(32)) goto parse_null_part_key;
05134         break;
05135       }
05136       
05137       // optional bool null_part_key = 4;
05138       case 4: {
05139         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
05140             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
05141          parse_null_part_key:
05142           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
05143                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
05144                  input, &null_part_key_)));
05145           set_has_null_part_key();
05146         } else {
05147           goto handle_uninterpreted;
05148         }
05149         if (input->ExpectTag(40)) goto parse_key_block_size;
05150         break;
05151       }
05152       
05153       // optional uint32 key_block_size = 5;
05154       case 5: {
05155         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
05156             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
05157          parse_key_block_size:
05158           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
05159                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
05160                  input, &key_block_size_)));
05161           set_has_key_block_size();
05162         } else {
05163           goto handle_uninterpreted;
05164         }
05165         if (input->ExpectTag(48)) goto parse_has_partial_segments;
05166         break;
05167       }
05168       
05169       // optional bool has_partial_segments = 6;
05170       case 6: {
05171         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
05172             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
05173          parse_has_partial_segments:
05174           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
05175                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
05176                  input, &has_partial_segments_)));
05177           set_has_has_partial_segments();
05178         } else {
05179           goto handle_uninterpreted;
05180         }
05181         if (input->ExpectTag(56)) goto parse_auto_generated_key;
05182         break;
05183       }
05184       
05185       // optional bool auto_generated_key = 7;
05186       case 7: {
05187         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
05188             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
05189          parse_auto_generated_key:
05190           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
05191                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
05192                  input, &auto_generated_key_)));
05193           set_has_auto_generated_key();
05194         } else {
05195           goto handle_uninterpreted;
05196         }
05197         if (input->ExpectAtEnd()) return true;
05198         break;
05199       }
05200       
05201       default: {
05202       handle_uninterpreted:
05203         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
05204             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
05205           return true;
05206         }
05207         DO_(::google::protobuf::internal::WireFormat::SkipField(
05208               input, tag, mutable_unknown_fields()));
05209         break;
05210       }
05211     }
05212   }
05213   return true;
05214 #undef DO_
05215 }
05216 
05217 void Table_Index_Options::SerializeWithCachedSizes(
05218     ::google::protobuf::io::CodedOutputStream* output) const {
05219   // optional bool pack_key = 1;
05220   if (has_pack_key()) {
05221     ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->pack_key(), output);
05222   }
05223   
05224   // optional bool binary_pack_key = 2;
05225   if (has_binary_pack_key()) {
05226     ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->binary_pack_key(), output);
05227   }
05228   
05229   // optional bool var_length_key = 3;
05230   if (has_var_length_key()) {
05231     ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->var_length_key(), output);
05232   }
05233   
05234   // optional bool null_part_key = 4;
05235   if (has_null_part_key()) {
05236     ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->null_part_key(), output);
05237   }
05238   
05239   // optional uint32 key_block_size = 5;
05240   if (has_key_block_size()) {
05241     ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->key_block_size(), output);
05242   }
05243   
05244   // optional bool has_partial_segments = 6;
05245   if (has_has_partial_segments()) {
05246     ::google::protobuf::internal::WireFormatLite::WriteBool(6, this->has_partial_segments(), output);
05247   }
05248   
05249   // optional bool auto_generated_key = 7;
05250   if (has_auto_generated_key()) {
05251     ::google::protobuf::internal::WireFormatLite::WriteBool(7, this->auto_generated_key(), output);
05252   }
05253   
05254   if (!unknown_fields().empty()) {
05255     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
05256         unknown_fields(), output);
05257   }
05258 }
05259 
05260 ::google::protobuf::uint8* Table_Index_Options::SerializeWithCachedSizesToArray(
05261     ::google::protobuf::uint8* target) const {
05262   // optional bool pack_key = 1;
05263   if (has_pack_key()) {
05264     target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->pack_key(), target);
05265   }
05266   
05267   // optional bool binary_pack_key = 2;
05268   if (has_binary_pack_key()) {
05269     target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->binary_pack_key(), target);
05270   }
05271   
05272   // optional bool var_length_key = 3;
05273   if (has_var_length_key()) {
05274     target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->var_length_key(), target);
05275   }
05276   
05277   // optional bool null_part_key = 4;
05278   if (has_null_part_key()) {
05279     target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->null_part_key(), target);
05280   }
05281   
05282   // optional uint32 key_block_size = 5;
05283   if (has_key_block_size()) {
05284     target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(5, this->key_block_size(), target);
05285   }
05286   
05287   // optional bool has_partial_segments = 6;
05288   if (has_has_partial_segments()) {
05289     target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(6, this->has_partial_segments(), target);
05290   }
05291   
05292   // optional bool auto_generated_key = 7;
05293   if (has_auto_generated_key()) {
05294     target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(7, this->auto_generated_key(), target);
05295   }
05296   
05297   if (!unknown_fields().empty()) {
05298     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
05299         unknown_fields(), target);
05300   }
05301   return target;
05302 }
05303 
05304 int Table_Index_Options::ByteSize() const {
05305   int total_size = 0;
05306   
05307   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
05308     // optional bool pack_key = 1;
05309     if (has_pack_key()) {
05310       total_size += 1 + 1;
05311     }
05312     
05313     // optional bool binary_pack_key = 2;
05314     if (has_binary_pack_key()) {
05315       total_size += 1 + 1;
05316     }
05317     
05318     // optional bool var_length_key = 3;
05319     if (has_var_length_key()) {
05320       total_size += 1 + 1;
05321     }
05322     
05323     // optional bool null_part_key = 4;
05324     if (has_null_part_key()) {
05325       total_size += 1 + 1;
05326     }
05327     
05328     // optional uint32 key_block_size = 5;
05329     if (has_key_block_size()) {
05330       total_size += 1 +
05331         ::google::protobuf::internal::WireFormatLite::UInt32Size(
05332           this->key_block_size());
05333     }
05334     
05335     // optional bool has_partial_segments = 6;
05336     if (has_has_partial_segments()) {
05337       total_size += 1 + 1;
05338     }
05339     
05340     // optional bool auto_generated_key = 7;
05341     if (has_auto_generated_key()) {
05342       total_size += 1 + 1;
05343     }
05344     
05345   }
05346   if (!unknown_fields().empty()) {
05347     total_size +=
05348       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
05349         unknown_fields());
05350   }
05351   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
05352   _cached_size_ = total_size;
05353   GOOGLE_SAFE_CONCURRENT_WRITES_END();
05354   return total_size;
05355 }
05356 
05357 void Table_Index_Options::MergeFrom(const ::google::protobuf::Message& from) {
05358   GOOGLE_CHECK_NE(&from, this);
05359   const Table_Index_Options* source =
05360     ::google::protobuf::internal::dynamic_cast_if_available<const Table_Index_Options*>(
05361       &from);
05362   if (source == NULL) {
05363     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
05364   } else {
05365     MergeFrom(*source);
05366   }
05367 }
05368 
05369 void Table_Index_Options::MergeFrom(const Table_Index_Options& from) {
05370   GOOGLE_CHECK_NE(&from, this);
05371   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
05372     if (from.has_pack_key()) {
05373       set_pack_key(from.pack_key());
05374     }
05375     if (from.has_binary_pack_key()) {
05376       set_binary_pack_key(from.binary_pack_key());
05377     }
05378     if (from.has_var_length_key()) {
05379       set_var_length_key(from.var_length_key());
05380     }
05381     if (from.has_null_part_key()) {
05382       set_null_part_key(from.null_part_key());
05383     }
05384     if (from.has_key_block_size()) {
05385       set_key_block_size(from.key_block_size());
05386     }
05387     if (from.has_has_partial_segments()) {
05388       set_has_partial_segments(from.has_partial_segments());
05389     }
05390     if (from.has_auto_generated_key()) {
05391       set_auto_generated_key(from.auto_generated_key());
05392     }
05393   }
05394   mutable_unknown_fields()->MergeFrom(from.unknown_fields());
05395 }
05396 
05397 void Table_Index_Options::CopyFrom(const ::google::protobuf::Message& from) {
05398   if (&from == this) return;
05399   Clear();
05400   MergeFrom(from);
05401 }
05402 
05403 void Table_Index_Options::CopyFrom(const Table_Index_Options& from) {
05404   if (&from == this) return;
05405   Clear();
05406   MergeFrom(from);
05407 }
05408 
05409 bool Table_Index_Options::IsInitialized() const {
05410   
05411   return true;
05412 }
05413 
05414 void Table_Index_Options::Swap(Table_Index_Options* other) {
05415   if (other != this) {
05416     std::swap(pack_key_, other->pack_key_);
05417     std::swap(binary_pack_key_, other->binary_pack_key_);
05418     std::swap(var_length_key_, other->var_length_key_);
05419     std::swap(null_part_key_, other->null_part_key_);
05420     std::swap(key_block_size_, other->key_block_size_);
05421     std::swap(has_partial_segments_, other->has_partial_segments_);
05422     std::swap(auto_generated_key_, other->auto_generated_key_);
05423     std::swap(_has_bits_[0], other->_has_bits_[0]);
05424     _unknown_fields_.Swap(&other->_unknown_fields_);
05425     std::swap(_cached_size_, other->_cached_size_);
05426   }
05427 }
05428 
05429 ::google::protobuf::Metadata Table_Index_Options::GetMetadata() const {
05430   protobuf_AssignDescriptorsOnce();
05431   ::google::protobuf::Metadata metadata;
05432   metadata.descriptor = Table_Index_Options_descriptor_;
05433   metadata.reflection = Table_Index_Options_reflection_;
05434   return metadata;
05435 }
05436 
05437 
05438 // -------------------------------------------------------------------
05439 
05440 #ifndef _MSC_VER
05441 const int Table_Index::kNameFieldNumber;
05442 const int Table_Index::kIsPrimaryFieldNumber;
05443 const int Table_Index::kIsUniqueFieldNumber;
05444 const int Table_Index::kTypeFieldNumber;
05445 const int Table_Index::kKeyLengthFieldNumber;
05446 const int Table_Index::kIndexPartFieldNumber;
05447 const int Table_Index::kOptionsFieldNumber;
05448 const int Table_Index::kCommentFieldNumber;
05449 #endif  // !_MSC_VER
05450 
05451 Table_Index::Table_Index()
05452   : ::google::protobuf::Message() {
05453   SharedCtor();
05454 }
05455 
05456 void Table_Index::InitAsDefaultInstance() {
05457   options_ = const_cast< ::drizzled::message::Table_Index_Options*>(&::drizzled::message::Table_Index_Options::default_instance());
05458 }
05459 
05460 Table_Index::Table_Index(const Table_Index& from)
05461   : ::google::protobuf::Message() {
05462   SharedCtor();
05463   MergeFrom(from);
05464 }
05465 
05466 void Table_Index::SharedCtor() {
05467   _cached_size_ = 0;
05468   name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
05469   is_primary_ = false;
05470   is_unique_ = false;
05471   type_ = 0;
05472   key_length_ = 0u;
05473   options_ = NULL;
05474   comment_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
05475   ::memset(_has_bits_, 0, sizeof(_has_bits_));
05476 }
05477 
05478 Table_Index::~Table_Index() {
05479   SharedDtor();
05480 }
05481 
05482 void Table_Index::SharedDtor() {
05483   if (name_ != &::google::protobuf::internal::kEmptyString) {
05484     delete name_;
05485   }
05486   if (comment_ != &::google::protobuf::internal::kEmptyString) {
05487     delete comment_;
05488   }
05489   if (this != default_instance_) {
05490     delete options_;
05491   }
05492 }
05493 
05494 void Table_Index::SetCachedSize(int size) const {
05495   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
05496   _cached_size_ = size;
05497   GOOGLE_SAFE_CONCURRENT_WRITES_END();
05498 }
05499 const ::google::protobuf::Descriptor* Table_Index::descriptor() {
05500   protobuf_AssignDescriptorsOnce();
05501   return Table_Index_descriptor_;
05502 }
05503 
05504 const Table_Index& Table_Index::default_instance() {
05505   if (default_instance_ == NULL) protobuf_AddDesc_table_2eproto();  return *default_instance_;
05506 }
05507 
05508 Table_Index* Table_Index::default_instance_ = NULL;
05509 
05510 Table_Index* Table_Index::New() const {
05511   return new Table_Index;
05512 }
05513 
05514 void Table_Index::Clear() {
05515   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
05516     if (has_name()) {
05517       if (name_ != &::google::protobuf::internal::kEmptyString) {
05518         name_->clear();
05519       }
05520     }
05521     is_primary_ = false;
05522     is_unique_ = false;
05523     type_ = 0;
05524     key_length_ = 0u;
05525     if (has_options()) {
05526       if (options_ != NULL) options_->::drizzled::message::Table_Index_Options::Clear();
05527     }
05528     if (has_comment()) {
05529       if (comment_ != &::google::protobuf::internal::kEmptyString) {
05530         comment_->clear();
05531       }
05532     }
05533   }
05534   index_part_.Clear();
05535   ::memset(_has_bits_, 0, sizeof(_has_bits_));
05536   mutable_unknown_fields()->Clear();
05537 }
05538 
05539 bool Table_Index::MergePartialFromCodedStream(
05540     ::google::protobuf::io::CodedInputStream* input) {
05541 #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
05542   ::google::protobuf::uint32 tag;
05543   while ((tag = input->ReadTag()) != 0) {
05544     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
05545       // required string name = 1;
05546       case 1: {
05547         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
05548             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
05549           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
05550                 input, this->mutable_name()));
05551           ::google::protobuf::internal::WireFormat::VerifyUTF8String(
05552             this->name().data(), this->name().length(),
05553             ::google::protobuf::internal::WireFormat::PARSE);
05554         } else {
05555           goto handle_uninterpreted;
05556         }
05557         if (input->ExpectTag(16)) goto parse_is_primary;
05558         break;
05559       }
05560       
05561       // required bool is_primary = 2;
05562       case 2: {
05563         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
05564             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
05565          parse_is_primary:
05566           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
05567                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
05568                  input, &is_primary_)));
05569           set_has_is_primary();
05570         } else {
05571           goto handle_uninterpreted;
05572         }
05573         if (input->ExpectTag(24)) goto parse_is_unique;
05574         break;
05575       }
05576       
05577       // required bool is_unique = 3;
05578       case 3: {
05579         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
05580             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
05581          parse_is_unique:
05582           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
05583                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
05584                  input, &is_unique_)));
05585           set_has_is_unique();
05586         } else {
05587           goto handle_uninterpreted;
05588         }
05589         if (input->ExpectTag(32)) goto parse_type;
05590         break;
05591       }
05592       
05593       // required .drizzled.message.Table.Index.IndexType type = 4 [default = UNKNOWN_INDEX];
05594       case 4: {
05595         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
05596             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
05597          parse_type:
05598           int value;
05599           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
05600                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
05601                  input, &value)));
05602           if (::drizzled::message::Table_Index_IndexType_IsValid(value)) {
05603             set_type(static_cast< ::drizzled::message::Table_Index_IndexType >(value));
05604           } else {
05605             mutable_unknown_fields()->AddVarint(4, value);
05606           }
05607         } else {
05608           goto handle_uninterpreted;
05609         }
05610         if (input->ExpectTag(40)) goto parse_key_length;
05611         break;
05612       }
05613       
05614       // required uint32 key_length = 5;
05615       case 5: {
05616         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
05617             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
05618          parse_key_length:
05619           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
05620                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
05621                  input, &key_length_)));
05622           set_has_key_length();
05623         } else {
05624           goto handle_uninterpreted;
05625         }
05626         if (input->ExpectTag(50)) goto parse_index_part;
05627         break;
05628       }
05629       
05630       // repeated .drizzled.message.Table.Index.IndexPart index_part = 6;
05631       case 6: {
05632         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
05633             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
05634          parse_index_part:
05635           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
05636                 input, add_index_part()));
05637         } else {
05638           goto handle_uninterpreted;
05639         }
05640         if (input->ExpectTag(50)) goto parse_index_part;
05641         if (input->ExpectTag(58)) goto parse_options;
05642         break;
05643       }
05644       
05645       // optional .drizzled.message.Table.Index.Options options = 7;
05646       case 7: {
05647         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
05648             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
05649          parse_options:
05650           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
05651                input, mutable_options()));
05652         } else {
05653           goto handle_uninterpreted;
05654         }
05655         if (input->ExpectTag(66)) goto parse_comment;
05656         break;
05657       }
05658       
05659       // optional string comment = 8;
05660       case 8: {
05661         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
05662             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
05663          parse_comment:
05664           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
05665                 input, this->mutable_comment()));
05666           ::google::protobuf::internal::WireFormat::VerifyUTF8String(
05667             this->comment().data(), this->comment().length(),
05668             ::google::protobuf::internal::WireFormat::PARSE);
05669         } else {
05670           goto handle_uninterpreted;
05671         }
05672         if (input->ExpectAtEnd()) return true;
05673         break;
05674       }
05675       
05676       default: {
05677       handle_uninterpreted:
05678         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
05679             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
05680           return true;
05681         }
05682         DO_(::google::protobuf::internal::WireFormat::SkipField(
05683               input, tag, mutable_unknown_fields()));
05684         break;
05685       }
05686     }
05687   }
05688   return true;
05689 #undef DO_
05690 }
05691 
05692 void Table_Index::SerializeWithCachedSizes(
05693     ::google::protobuf::io::CodedOutputStream* output) const {
05694   // required string name = 1;
05695   if (has_name()) {
05696     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
05697       this->name().data(), this->name().length(),
05698       ::google::protobuf::internal::WireFormat::SERIALIZE);
05699     ::google::protobuf::internal::WireFormatLite::WriteString(
05700       1, this->name(), output);
05701   }
05702   
05703   // required bool is_primary = 2;
05704   if (has_is_primary()) {
05705     ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->is_primary(), output);
05706   }
05707   
05708   // required bool is_unique = 3;
05709   if (has_is_unique()) {
05710     ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->is_unique(), output);
05711   }
05712   
05713   // required .drizzled.message.Table.Index.IndexType type = 4 [default = UNKNOWN_INDEX];
05714   if (has_type()) {
05715     ::google::protobuf::internal::WireFormatLite::WriteEnum(
05716       4, this->type(), output);
05717   }
05718   
05719   // required uint32 key_length = 5;
05720   if (has_key_length()) {
05721     ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->key_length(), output);
05722   }
05723   
05724   // repeated .drizzled.message.Table.Index.IndexPart index_part = 6;
05725   for (int i = 0; i < this->index_part_size(); i++) {
05726     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
05727       6, this->index_part(i), output);
05728   }
05729   
05730   // optional .drizzled.message.Table.Index.Options options = 7;
05731   if (has_options()) {
05732     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
05733       7, this->options(), output);
05734   }
05735   
05736   // optional string comment = 8;
05737   if (has_comment()) {
05738     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
05739       this->comment().data(), this->comment().length(),
05740       ::google::protobuf::internal::WireFormat::SERIALIZE);
05741     ::google::protobuf::internal::WireFormatLite::WriteString(
05742       8, this->comment(), output);
05743   }
05744   
05745   if (!unknown_fields().empty()) {
05746     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
05747         unknown_fields(), output);
05748   }
05749 }
05750 
05751 ::google::protobuf::uint8* Table_Index::SerializeWithCachedSizesToArray(
05752     ::google::protobuf::uint8* target) const {
05753   // required string name = 1;
05754   if (has_name()) {
05755     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
05756       this->name().data(), this->name().length(),
05757       ::google::protobuf::internal::WireFormat::SERIALIZE);
05758     target =
05759       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
05760         1, this->name(), target);
05761   }
05762   
05763   // required bool is_primary = 2;
05764   if (has_is_primary()) {
05765     target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->is_primary(), target);
05766   }
05767   
05768   // required bool is_unique = 3;
05769   if (has_is_unique()) {
05770     target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->is_unique(), target);
05771   }
05772   
05773   // required .drizzled.message.Table.Index.IndexType type = 4 [default = UNKNOWN_INDEX];
05774   if (has_type()) {
05775     target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
05776       4, this->type(), target);
05777   }
05778   
05779   // required uint32 key_length = 5;
05780   if (has_key_length()) {
05781     target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(5, this->key_length(), target);
05782   }
05783   
05784   // repeated .drizzled.message.Table.Index.IndexPart index_part = 6;
05785   for (int i = 0; i < this->index_part_size(); i++) {
05786     target = ::google::protobuf::internal::WireFormatLite::
05787       WriteMessageNoVirtualToArray(
05788         6, this->index_part(i), target);
05789   }
05790   
05791   // optional .drizzled.message.Table.Index.Options options = 7;
05792   if (has_options()) {
05793     target = ::google::protobuf::internal::WireFormatLite::
05794       WriteMessageNoVirtualToArray(
05795         7, this->options(), target);
05796   }
05797   
05798   // optional string comment = 8;
05799   if (has_comment()) {
05800     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
05801       this->comment().data(), this->comment().length(),
05802       ::google::protobuf::internal::WireFormat::SERIALIZE);
05803     target =
05804       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
05805         8, this->comment(), target);
05806   }
05807   
05808   if (!unknown_fields().empty()) {
05809     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
05810         unknown_fields(), target);
05811   }
05812   return target;
05813 }
05814 
05815 int Table_Index::ByteSize() const {
05816   int total_size = 0;
05817   
05818   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
05819     // required string name = 1;
05820     if (has_name()) {
05821       total_size += 1 +
05822         ::google::protobuf::internal::WireFormatLite::StringSize(
05823           this->name());
05824     }
05825     
05826     // required bool is_primary = 2;
05827     if (has_is_primary()) {
05828       total_size += 1 + 1;
05829     }
05830     
05831     // required bool is_unique = 3;
05832     if (has_is_unique()) {
05833       total_size += 1 + 1;
05834     }
05835     
05836     // required .drizzled.message.Table.Index.IndexType type = 4 [default = UNKNOWN_INDEX];
05837     if (has_type()) {
05838       total_size += 1 +
05839         ::google::protobuf::internal::WireFormatLite::EnumSize(this->type());
05840     }
05841     
05842     // required uint32 key_length = 5;
05843     if (has_key_length()) {
05844       total_size += 1 +
05845         ::google::protobuf::internal::WireFormatLite::UInt32Size(
05846           this->key_length());
05847     }
05848     
05849     // optional .drizzled.message.Table.Index.Options options = 7;
05850     if (has_options()) {
05851       total_size += 1 +
05852         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
05853           this->options());
05854     }
05855     
05856     // optional string comment = 8;
05857     if (has_comment()) {
05858       total_size += 1 +
05859         ::google::protobuf::internal::WireFormatLite::StringSize(
05860           this->comment());
05861     }
05862     
05863   }
05864   // repeated .drizzled.message.Table.Index.IndexPart index_part = 6;
05865   total_size += 1 * this->index_part_size();
05866   for (int i = 0; i < this->index_part_size(); i++) {
05867     total_size +=
05868       ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
05869         this->index_part(i));
05870   }
05871   
05872   if (!unknown_fields().empty()) {
05873     total_size +=
05874       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
05875         unknown_fields());
05876   }
05877   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
05878   _cached_size_ = total_size;
05879   GOOGLE_SAFE_CONCURRENT_WRITES_END();
05880   return total_size;
05881 }
05882 
05883 void Table_Index::MergeFrom(const ::google::protobuf::Message& from) {
05884   GOOGLE_CHECK_NE(&from, this);
05885   const Table_Index* source =
05886     ::google::protobuf::internal::dynamic_cast_if_available<const Table_Index*>(
05887       &from);
05888   if (source == NULL) {
05889     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
05890   } else {
05891     MergeFrom(*source);
05892   }
05893 }
05894 
05895 void Table_Index::MergeFrom(const Table_Index& from) {
05896   GOOGLE_CHECK_NE(&from, this);
05897   index_part_.MergeFrom(from.index_part_);
05898   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
05899     if (from.has_name()) {
05900       set_name(from.name());
05901     }
05902     if (from.has_is_primary()) {
05903       set_is_primary(from.is_primary());
05904     }
05905     if (from.has_is_unique()) {
05906       set_is_unique(from.is_unique());
05907     }
05908     if (from.has_type()) {
05909       set_type(from.type());
05910     }
05911     if (from.has_key_length()) {
05912       set_key_length(from.key_length());
05913     }
05914     if (from.has_options()) {
05915       mutable_options()->::drizzled::message::Table_Index_Options::MergeFrom(from.options());
05916     }
05917     if (from.has_comment()) {
05918       set_comment(from.comment());
05919     }
05920   }
05921   mutable_unknown_fields()->MergeFrom(from.unknown_fields());
05922 }
05923 
05924 void Table_Index::CopyFrom(const ::google::protobuf::Message& from) {
05925   if (&from == this) return;
05926   Clear();
05927   MergeFrom(from);
05928 }
05929 
05930 void Table_Index::CopyFrom(const Table_Index& from) {
05931   if (&from == this) return;
05932   Clear();
05933   MergeFrom(from);
05934 }
05935 
05936 bool Table_Index::IsInitialized() const {
05937   if ((_has_bits_[0] & 0x0000001f) != 0x0000001f) return false;
05938   
05939   for (int i = 0; i < index_part_size(); i++) {
05940     if (!this->index_part(i).IsInitialized()) return false;
05941   }
05942   return true;
05943 }
05944 
05945 void Table_Index::Swap(Table_Index* other) {
05946   if (other != this) {
05947     std::swap(name_, other->name_);
05948     std::swap(is_primary_, other->is_primary_);
05949     std::swap(is_unique_, other->is_unique_);
05950     std::swap(type_, other->type_);
05951     std::swap(key_length_, other->key_length_);
05952     index_part_.Swap(&other->index_part_);
05953     std::swap(options_, other->options_);
05954     std::swap(comment_, other->comment_);
05955     std::swap(_has_bits_[0], other->_has_bits_[0]);
05956     _unknown_fields_.Swap(&other->_unknown_fields_);
05957     std::swap(_cached_size_, other->_cached_size_);
05958   }
05959 }
05960 
05961 ::google::protobuf::Metadata Table_Index::GetMetadata() const {
05962   protobuf_AssignDescriptorsOnce();
05963   ::google::protobuf::Metadata metadata;
05964   metadata.descriptor = Table_Index_descriptor_;
05965   metadata.reflection = Table_Index_reflection_;
05966   return metadata;
05967 }
05968 
05969 
05970 // -------------------------------------------------------------------
05971 
05972 #ifndef _MSC_VER
05973 const int Table::kNameFieldNumber;
05974 const int Table::kSchemaFieldNumber;
05975 const int Table::kTypeFieldNumber;
05976 const int Table::kEngineFieldNumber;
05977 const int Table::kFieldFieldNumber;
05978 const int Table::kIndexesFieldNumber;
05979 const int Table::kFkConstraintFieldNumber;
05980 const int Table::kOptionsFieldNumber;
05981 const int Table::kCreationTimestampFieldNumber;
05982 const int Table::kUpdateTimestampFieldNumber;
05983 const int Table::kCatalogFieldNumber;
05984 const int Table::kUuidFieldNumber;
05985 const int Table::kVersionFieldNumber;
05986 const int Table::kReplicationOptionsFieldNumber;
05987 const int Table::kAccessFieldNumber;
05988 #endif  // !_MSC_VER
05989 
05990 Table::Table()
05991   : ::google::protobuf::Message() {
05992   SharedCtor();
05993 }
05994 
05995 void Table::InitAsDefaultInstance() {
05996   engine_ = const_cast< ::drizzled::message::Engine*>(&::drizzled::message::Engine::default_instance());
05997   options_ = const_cast< ::drizzled::message::Table_TableOptions*>(&::drizzled::message::Table_TableOptions::default_instance());
05998   replication_options_ = const_cast< ::drizzled::message::ReplicationOptions*>(&::drizzled::message::ReplicationOptions::default_instance());
05999   access_ = const_cast< ::drizzled::message::Access*>(&::drizzled::message::Access::default_instance());
06000 }
06001 
06002 Table::Table(const Table& from)
06003   : ::google::protobuf::Message() {
06004   SharedCtor();
06005   MergeFrom(from);
06006 }
06007 
06008 void Table::SharedCtor() {
06009   _cached_size_ = 0;
06010   name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
06011   schema_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
06012   type_ = 0;
06013   engine_ = NULL;
06014   options_ = NULL;
06015   creation_timestamp_ = GOOGLE_ULONGLONG(0);
06016   update_timestamp_ = GOOGLE_ULONGLONG(0);
06017   catalog_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
06018   uuid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
06019   version_ = GOOGLE_ULONGLONG(0);
06020   replication_options_ = NULL;
06021   access_ = NULL;
06022   ::memset(_has_bits_, 0, sizeof(_has_bits_));
06023 }
06024 
06025 Table::~Table() {
06026   SharedDtor();
06027 }
06028 
06029 void Table::SharedDtor() {
06030   if (name_ != &::google::protobuf::internal::kEmptyString) {
06031     delete name_;
06032   }
06033   if (schema_ != &::google::protobuf::internal::kEmptyString) {
06034     delete schema_;
06035   }
06036   if (catalog_ != &::google::protobuf::internal::kEmptyString) {
06037     delete catalog_;
06038   }
06039   if (uuid_ != &::google::protobuf::internal::kEmptyString) {
06040     delete uuid_;
06041   }
06042   if (this != default_instance_) {
06043     delete engine_;
06044     delete options_;
06045     delete replication_options_;
06046     delete access_;
06047   }
06048 }
06049 
06050 void Table::SetCachedSize(int size) const {
06051   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
06052   _cached_size_ = size;
06053   GOOGLE_SAFE_CONCURRENT_WRITES_END();
06054 }
06055 const ::google::protobuf::Descriptor* Table::descriptor() {
06056   protobuf_AssignDescriptorsOnce();
06057   return Table_descriptor_;
06058 }
06059 
06060 const Table& Table::default_instance() {
06061   if (default_instance_ == NULL) protobuf_AddDesc_table_2eproto();  return *default_instance_;
06062 }
06063 
06064 Table* Table::default_instance_ = NULL;
06065 
06066 Table* Table::New() const {
06067   return new Table;
06068 }
06069 
06070 void Table::Clear() {
06071   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
06072     if (has_name()) {
06073       if (name_ != &::google::protobuf::internal::kEmptyString) {
06074         name_->clear();
06075       }
06076     }
06077     if (has_schema()) {
06078       if (schema_ != &::google::protobuf::internal::kEmptyString) {
06079         schema_->clear();
06080       }
06081     }
06082     type_ = 0;
06083     if (has_engine()) {
06084       if (engine_ != NULL) engine_->::drizzled::message::Engine::Clear();
06085     }
06086     if (has_options()) {
06087       if (options_ != NULL) options_->::drizzled::message::Table_TableOptions::Clear();
06088     }
06089   }
06090   if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
06091     creation_timestamp_ = GOOGLE_ULONGLONG(0);
06092     update_timestamp_ = GOOGLE_ULONGLONG(0);
06093     if (has_catalog()) {
06094       if (catalog_ != &::google::protobuf::internal::kEmptyString) {
06095         catalog_->clear();
06096       }
06097     }
06098     if (has_uuid()) {
06099       if (uuid_ != &::google::protobuf::internal::kEmptyString) {
06100         uuid_->clear();
06101       }
06102     }
06103     version_ = GOOGLE_ULONGLONG(0);
06104     if (has_replication_options()) {
06105       if (replication_options_ != NULL) replication_options_->::drizzled::message::ReplicationOptions::Clear();
06106     }
06107     if (has_access()) {
06108       if (access_ != NULL) access_->::drizzled::message::Access::Clear();
06109     }
06110   }
06111   field_.Clear();
06112   indexes_.Clear();
06113   fk_constraint_.Clear();
06114   ::memset(_has_bits_, 0, sizeof(_has_bits_));
06115   mutable_unknown_fields()->Clear();
06116 }
06117 
06118 bool Table::MergePartialFromCodedStream(
06119     ::google::protobuf::io::CodedInputStream* input) {
06120 #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
06121   ::google::protobuf::uint32 tag;
06122   while ((tag = input->ReadTag()) != 0) {
06123     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
06124       // required string name = 1;
06125       case 1: {
06126         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
06127             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
06128           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
06129                 input, this->mutable_name()));
06130           ::google::protobuf::internal::WireFormat::VerifyUTF8String(
06131             this->name().data(), this->name().length(),
06132             ::google::protobuf::internal::WireFormat::PARSE);
06133         } else {
06134           goto handle_uninterpreted;
06135         }
06136         if (input->ExpectTag(18)) goto parse_engine;
06137         break;
06138       }
06139       
06140       // required .drizzled.message.Engine engine = 2;
06141       case 2: {
06142         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
06143             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
06144          parse_engine:
06145           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
06146                input, mutable_engine()));
06147         } else {
06148           goto handle_uninterpreted;
06149         }
06150         if (input->ExpectTag(26)) goto parse_field;
06151         break;
06152       }
06153       
06154       // repeated .drizzled.message.Table.Field field = 3;
06155       case 3: {
06156         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
06157             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
06158          parse_field:
06159           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
06160                 input, add_field()));
06161         } else {
06162           goto handle_uninterpreted;
06163         }
06164         if (input->ExpectTag(26)) goto parse_field;
06165         if (input->ExpectTag(34)) goto parse_indexes;
06166         break;
06167       }
06168       
06169       // repeated .drizzled.message.Table.Index indexes = 4;
06170       case 4: {
06171         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
06172             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
06173          parse_indexes:
06174           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
06175                 input, add_indexes()));
06176         } else {
06177           goto handle_uninterpreted;
06178         }
06179         if (input->ExpectTag(34)) goto parse_indexes;
06180         if (input->ExpectTag(40)) goto parse_type;
06181         break;
06182       }
06183       
06184       // required .drizzled.message.Table.TableType type = 5;
06185       case 5: {
06186         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
06187             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
06188          parse_type:
06189           int value;
06190           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
06191                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
06192                  input, &value)));
06193           if (::drizzled::message::Table_TableType_IsValid(value)) {
06194             set_type(static_cast< ::drizzled::message::Table_TableType >(value));
06195           } else {
06196             mutable_unknown_fields()->AddVarint(5, value);
06197           }
06198         } else {
06199           goto handle_uninterpreted;
06200         }
06201         if (input->ExpectTag(50)) goto parse_schema;
06202         break;
06203       }
06204       
06205       // required string schema = 6;
06206       case 6: {
06207         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
06208             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
06209          parse_schema:
06210           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
06211                 input, this->mutable_schema()));
06212           ::google::protobuf::internal::WireFormat::VerifyUTF8String(
06213             this->schema().data(), this->schema().length(),
06214             ::google::protobuf::internal::WireFormat::PARSE);
06215         } else {
06216           goto handle_uninterpreted;
06217         }
06218         if (input->ExpectTag(66)) goto parse_fk_constraint;
06219         break;
06220       }
06221       
06222       // repeated .drizzled.message.Table.ForeignKeyConstraint fk_constraint = 8;
06223       case 8: {
06224         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
06225             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
06226          parse_fk_constraint:
06227           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
06228                 input, add_fk_constraint()));
06229         } else {
06230           goto handle_uninterpreted;
06231         }
06232         if (input->ExpectTag(66)) goto parse_fk_constraint;
06233         if (input->ExpectTag(74)) goto parse_options;
06234         break;
06235       }
06236       
06237       // optional .drizzled.message.Table.TableOptions options = 9;
06238       case 9: {
06239         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
06240             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
06241          parse_options:
06242           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
06243                input, mutable_options()));
06244         } else {
06245           goto handle_uninterpreted;
06246         }
06247         if (input->ExpectTag(88)) goto parse_creation_timestamp;
06248         break;
06249       }
06250       
06251       // required uint64 creation_timestamp = 11 [default = 0];
06252       case 11: {
06253         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
06254             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
06255          parse_creation_timestamp:
06256           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
06257                    ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
06258                  input, &creation_timestamp_)));
06259           set_has_creation_timestamp();
06260         } else {
06261           goto handle_uninterpreted;
06262         }
06263         if (input->ExpectTag(96)) goto parse_update_timestamp;
06264         break;
06265       }
06266       
06267       // required uint64 update_timestamp = 12 [default = 0];
06268       case 12: {
06269         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
06270             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
06271          parse_update_timestamp:
06272           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
06273                    ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
06274                  input, &update_timestamp_)));
06275           set_has_update_timestamp();
06276         } else {
06277           goto handle_uninterpreted;
06278         }
06279         if (input->ExpectTag(106)) goto parse_catalog;
06280         break;
06281       }
06282       
06283       // optional string catalog = 13;
06284       case 13: {
06285         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
06286             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
06287          parse_catalog:
06288           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
06289                 input, this->mutable_catalog()));
06290           ::google::protobuf::internal::WireFormat::VerifyUTF8String(
06291             this->catalog().data(), this->catalog().length(),
06292             ::google::protobuf::internal::WireFormat::PARSE);
06293         } else {
06294           goto handle_uninterpreted;
06295         }
06296         if (input->ExpectTag(114)) goto parse_uuid;
06297         break;
06298       }
06299       
06300       // optional string uuid = 14;
06301       case 14: {
06302         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
06303             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
06304          parse_uuid:
06305           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
06306                 input, this->mutable_uuid()));
06307           ::google::protobuf::internal::WireFormat::VerifyUTF8String(
06308             this->uuid().data(), this->uuid().length(),
06309             ::google::protobuf::internal::WireFormat::PARSE);
06310         } else {
06311           goto handle_uninterpreted;
06312         }
06313         if (input->ExpectTag(120)) goto parse_version;
06314         break;
06315       }
06316       
06317       // optional uint64 version = 15;
06318       case 15: {
06319         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
06320             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
06321          parse_version:
06322           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
06323                    ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
06324                  input, &version_)));
06325           set_has_version();
06326         } else {
06327           goto handle_uninterpreted;
06328         }
06329         if (input->ExpectTag(130)) goto parse_replication_options;
06330         break;
06331       }
06332       
06333       // optional .drizzled.message.ReplicationOptions replication_options = 16;
06334       case 16: {
06335         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
06336             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
06337          parse_replication_options:
06338           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
06339                input, mutable_replication_options()));
06340         } else {
06341           goto handle_uninterpreted;
06342         }
06343         if (input->ExpectTag(138)) goto parse_access;
06344         break;
06345       }
06346       
06347       // optional .drizzled.message.Access access = 17;
06348       case 17: {
06349         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
06350             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
06351          parse_access:
06352           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
06353                input, mutable_access()));
06354         } else {
06355           goto handle_uninterpreted;
06356         }
06357         if (input->ExpectAtEnd()) return true;
06358         break;
06359       }
06360       
06361       default: {
06362       handle_uninterpreted:
06363         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
06364             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
06365           return true;
06366         }
06367         DO_(::google::protobuf::internal::WireFormat::SkipField(
06368               input, tag, mutable_unknown_fields()));
06369         break;
06370       }
06371     }
06372   }
06373   return true;
06374 #undef DO_
06375 }
06376 
06377 void Table::SerializeWithCachedSizes(
06378     ::google::protobuf::io::CodedOutputStream* output) const {
06379   // required string name = 1;
06380   if (has_name()) {
06381     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
06382       this->name().data(), this->name().length(),
06383       ::google::protobuf::internal::WireFormat::SERIALIZE);
06384     ::google::protobuf::internal::WireFormatLite::WriteString(
06385       1, this->name(), output);
06386   }
06387   
06388   // required .drizzled.message.Engine engine = 2;
06389   if (has_engine()) {
06390     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
06391       2, this->engine(), output);
06392   }
06393   
06394   // repeated .drizzled.message.Table.Field field = 3;
06395   for (int i = 0; i < this->field_size(); i++) {
06396     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
06397       3, this->field(i), output);
06398   }
06399   
06400   // repeated .drizzled.message.Table.Index indexes = 4;
06401   for (int i = 0; i < this->indexes_size(); i++) {
06402     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
06403       4, this->indexes(i), output);
06404   }
06405   
06406   // required .drizzled.message.Table.TableType type = 5;
06407   if (has_type()) {
06408     ::google::protobuf::internal::WireFormatLite::WriteEnum(
06409       5, this->type(), output);
06410   }
06411   
06412   // required string schema = 6;
06413   if (has_schema()) {
06414     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
06415       this->schema().data(), this->schema().length(),
06416       ::google::protobuf::internal::WireFormat::SERIALIZE);
06417     ::google::protobuf::internal::WireFormatLite::WriteString(
06418       6, this->schema(), output);
06419   }
06420   
06421   // repeated .drizzled.message.Table.ForeignKeyConstraint fk_constraint = 8;
06422   for (int i = 0; i < this->fk_constraint_size(); i++) {
06423     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
06424       8, this->fk_constraint(i), output);
06425   }
06426   
06427   // optional .drizzled.message.Table.TableOptions options = 9;
06428   if (has_options()) {
06429     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
06430       9, this->options(), output);
06431   }
06432   
06433   // required uint64 creation_timestamp = 11 [default = 0];
06434   if (has_creation_timestamp()) {
06435     ::google::protobuf::internal::WireFormatLite::WriteUInt64(11, this->creation_timestamp(), output);
06436   }
06437   
06438   // required uint64 update_timestamp = 12 [default = 0];
06439   if (has_update_timestamp()) {
06440     ::google::protobuf::internal::WireFormatLite::WriteUInt64(12, this->update_timestamp(), output);
06441   }
06442   
06443   // optional string catalog = 13;
06444   if (has_catalog()) {
06445     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
06446       this->catalog().data(), this->catalog().length(),
06447       ::google::protobuf::internal::WireFormat::SERIALIZE);
06448     ::google::protobuf::internal::WireFormatLite::WriteString(
06449       13, this->catalog(), output);
06450   }
06451   
06452   // optional string uuid = 14;
06453   if (has_uuid()) {
06454     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
06455       this->uuid().data(), this->uuid().length(),
06456       ::google::protobuf::internal::WireFormat::SERIALIZE);
06457     ::google::protobuf::internal::WireFormatLite::WriteString(
06458       14, this->uuid(), output);
06459   }
06460   
06461   // optional uint64 version = 15;
06462   if (has_version()) {
06463     ::google::protobuf::internal::WireFormatLite::WriteUInt64(15, this->version(), output);
06464   }
06465   
06466   // optional .drizzled.message.ReplicationOptions replication_options = 16;
06467   if (has_replication_options()) {
06468     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
06469       16, this->replication_options(), output);
06470   }
06471   
06472   // optional .drizzled.message.Access access = 17;
06473   if (has_access()) {
06474     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
06475       17, this->access(), output);
06476   }
06477   
06478   if (!unknown_fields().empty()) {
06479     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
06480         unknown_fields(), output);
06481   }
06482 }
06483 
06484 ::google::protobuf::uint8* Table::SerializeWithCachedSizesToArray(
06485     ::google::protobuf::uint8* target) const {
06486   // required string name = 1;
06487   if (has_name()) {
06488     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
06489       this->name().data(), this->name().length(),
06490       ::google::protobuf::internal::WireFormat::SERIALIZE);
06491     target =
06492       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
06493         1, this->name(), target);
06494   }
06495   
06496   // required .drizzled.message.Engine engine = 2;
06497   if (has_engine()) {
06498     target = ::google::protobuf::internal::WireFormatLite::
06499       WriteMessageNoVirtualToArray(
06500         2, this->engine(), target);
06501   }
06502   
06503   // repeated .drizzled.message.Table.Field field = 3;
06504   for (int i = 0; i < this->field_size(); i++) {
06505     target = ::google::protobuf::internal::WireFormatLite::
06506       WriteMessageNoVirtualToArray(
06507         3, this->field(i), target);
06508   }
06509   
06510   // repeated .drizzled.message.Table.Index indexes = 4;
06511   for (int i = 0; i < this->indexes_size(); i++) {
06512     target = ::google::protobuf::internal::WireFormatLite::
06513       WriteMessageNoVirtualToArray(
06514         4, this->indexes(i), target);
06515   }
06516   
06517   // required .drizzled.message.Table.TableType type = 5;
06518   if (has_type()) {
06519     target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
06520       5, this->type(), target);
06521   }
06522   
06523   // required string schema = 6;
06524   if (has_schema()) {
06525     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
06526       this->schema().data(), this->schema().length(),
06527       ::google::protobuf::internal::WireFormat::SERIALIZE);
06528     target =
06529       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
06530         6, this->schema(), target);
06531   }
06532   
06533   // repeated .drizzled.message.Table.ForeignKeyConstraint fk_constraint = 8;
06534   for (int i = 0; i < this->fk_constraint_size(); i++) {
06535     target = ::google::protobuf::internal::WireFormatLite::
06536       WriteMessageNoVirtualToArray(
06537         8, this->fk_constraint(i), target);
06538   }
06539   
06540   // optional .drizzled.message.Table.TableOptions options = 9;
06541   if (has_options()) {
06542     target = ::google::protobuf::internal::WireFormatLite::
06543       WriteMessageNoVirtualToArray(
06544         9, this->options(), target);
06545   }
06546   
06547   // required uint64 creation_timestamp = 11 [default = 0];
06548   if (has_creation_timestamp()) {
06549     target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(11, this->creation_timestamp(), target);
06550   }
06551   
06552   // required uint64 update_timestamp = 12 [default = 0];
06553   if (has_update_timestamp()) {
06554     target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(12, this->update_timestamp(), target);
06555   }
06556   
06557   // optional string catalog = 13;
06558   if (has_catalog()) {
06559     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
06560       this->catalog().data(), this->catalog().length(),
06561       ::google::protobuf::internal::WireFormat::SERIALIZE);
06562     target =
06563       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
06564         13, this->catalog(), target);
06565   }
06566   
06567   // optional string uuid = 14;
06568   if (has_uuid()) {
06569     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
06570       this->uuid().data(), this->uuid().length(),
06571       ::google::protobuf::internal::WireFormat::SERIALIZE);
06572     target =
06573       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
06574         14, this->uuid(), target);
06575   }
06576   
06577   // optional uint64 version = 15;
06578   if (has_version()) {
06579     target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(15, this->version(), target);
06580   }
06581   
06582   // optional .drizzled.message.ReplicationOptions replication_options = 16;
06583   if (has_replication_options()) {
06584     target = ::google::protobuf::internal::WireFormatLite::
06585       WriteMessageNoVirtualToArray(
06586         16, this->replication_options(), target);
06587   }
06588   
06589   // optional .drizzled.message.Access access = 17;
06590   if (has_access()) {
06591     target = ::google::protobuf::internal::WireFormatLite::
06592       WriteMessageNoVirtualToArray(
06593         17, this->access(), target);
06594   }
06595   
06596   if (!unknown_fields().empty()) {
06597     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
06598         unknown_fields(), target);
06599   }
06600   return target;
06601 }
06602 
06603 int Table::ByteSize() const {
06604   int total_size = 0;
06605   
06606   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
06607     // required string name = 1;
06608     if (has_name()) {
06609       total_size += 1 +
06610         ::google::protobuf::internal::WireFormatLite::StringSize(
06611           this->name());
06612     }
06613     
06614     // required string schema = 6;
06615     if (has_schema()) {
06616       total_size += 1 +
06617         ::google::protobuf::internal::WireFormatLite::StringSize(
06618           this->schema());
06619     }
06620     
06621     // required .drizzled.message.Table.TableType type = 5;
06622     if (has_type()) {
06623       total_size += 1 +
06624         ::google::protobuf::internal::WireFormatLite::EnumSize(this->type());
06625     }
06626     
06627     // required .drizzled.message.Engine engine = 2;
06628     if (has_engine()) {
06629       total_size += 1 +
06630         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
06631           this->engine());
06632     }
06633     
06634     // optional .drizzled.message.Table.TableOptions options = 9;
06635     if (has_options()) {
06636       total_size += 1 +
06637         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
06638           this->options());
06639     }
06640     
06641   }
06642   if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
06643     // required uint64 creation_timestamp = 11 [default = 0];
06644     if (has_creation_timestamp()) {
06645       total_size += 1 +
06646         ::google::protobuf::internal::WireFormatLite::UInt64Size(
06647           this->creation_timestamp());
06648     }
06649     
06650     // required uint64 update_timestamp = 12 [default = 0];
06651     if (has_update_timestamp()) {
06652       total_size += 1 +
06653         ::google::protobuf::internal::WireFormatLite::UInt64Size(
06654           this->update_timestamp());
06655     }
06656     
06657     // optional string catalog = 13;
06658     if (has_catalog()) {
06659       total_size += 1 +
06660         ::google::protobuf::internal::WireFormatLite::StringSize(
06661           this->catalog());
06662     }
06663     
06664     // optional string uuid = 14;
06665     if (has_uuid()) {
06666       total_size += 1 +
06667         ::google::protobuf::internal::WireFormatLite::StringSize(
06668           this->uuid());
06669     }
06670     
06671     // optional uint64 version = 15;
06672     if (has_version()) {
06673       total_size += 1 +
06674         ::google::protobuf::internal::WireFormatLite::UInt64Size(
06675           this->version());
06676     }
06677     
06678     // optional .drizzled.message.ReplicationOptions replication_options = 16;
06679     if (has_replication_options()) {
06680       total_size += 2 +
06681         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
06682           this->replication_options());
06683     }
06684     
06685     // optional .drizzled.message.Access access = 17;
06686     if (has_access()) {
06687       total_size += 2 +
06688         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
06689           this->access());
06690     }
06691     
06692   }
06693   // repeated .drizzled.message.Table.Field field = 3;
06694   total_size += 1 * this->field_size();
06695   for (int i = 0; i < this->field_size(); i++) {
06696     total_size +=
06697       ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
06698         this->field(i));
06699   }
06700   
06701   // repeated .drizzled.message.Table.Index indexes = 4;
06702   total_size += 1 * this->indexes_size();
06703   for (int i = 0; i < this->indexes_size(); i++) {
06704     total_size +=
06705       ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
06706         this->indexes(i));
06707   }
06708   
06709   // repeated .drizzled.message.Table.ForeignKeyConstraint fk_constraint = 8;
06710   total_size += 1 * this->fk_constraint_size();
06711   for (int i = 0; i < this->fk_constraint_size(); i++) {
06712     total_size +=
06713       ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
06714         this->fk_constraint(i));
06715   }
06716   
06717   if (!unknown_fields().empty()) {
06718     total_size +=
06719       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
06720         unknown_fields());
06721   }
06722   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
06723   _cached_size_ = total_size;
06724   GOOGLE_SAFE_CONCURRENT_WRITES_END();
06725   return total_size;
06726 }
06727 
06728 void Table::MergeFrom(const ::google::protobuf::Message& from) {
06729   GOOGLE_CHECK_NE(&from, this);
06730   const Table* source =
06731     ::google::protobuf::internal::dynamic_cast_if_available<const Table*>(
06732       &from);
06733   if (source == NULL) {
06734     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
06735   } else {
06736     MergeFrom(*source);
06737   }
06738 }
06739 
06740 void Table::MergeFrom(const Table& from) {
06741   GOOGLE_CHECK_NE(&from, this);
06742   field_.MergeFrom(from.field_);
06743   indexes_.MergeFrom(from.indexes_);
06744   fk_constraint_.MergeFrom(from.fk_constraint_);
06745   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
06746     if (from.has_name()) {
06747       set_name(from.name());
06748     }
06749     if (from.has_schema()) {
06750       set_schema(from.schema());
06751     }
06752     if (from.has_type()) {
06753       set_type(from.type());
06754     }
06755     if (from.has_engine()) {
06756       mutable_engine()->::drizzled::message::Engine::MergeFrom(from.engine());
06757     }
06758     if (from.has_options()) {
06759       mutable_options()->::drizzled::message::Table_TableOptions::MergeFrom(from.options());
06760     }
06761   }
06762   if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
06763     if (from.has_creation_timestamp()) {
06764       set_creation_timestamp(from.creation_timestamp());
06765     }
06766     if (from.has_update_timestamp()) {
06767       set_update_timestamp(from.update_timestamp());
06768     }
06769     if (from.has_catalog()) {
06770       set_catalog(from.catalog());
06771     }
06772     if (from.has_uuid()) {
06773       set_uuid(from.uuid());
06774     }
06775     if (from.has_version()) {
06776       set_version(from.version());
06777     }
06778     if (from.has_replication_options()) {
06779       mutable_replication_options()->::drizzled::message::ReplicationOptions::MergeFrom(from.replication_options());
06780     }
06781     if (from.has_access()) {
06782       mutable_access()->::drizzled::message::Access::MergeFrom(from.access());
06783     }
06784   }
06785   mutable_unknown_fields()->MergeFrom(from.unknown_fields());
06786 }
06787 
06788 void Table::CopyFrom(const ::google::protobuf::Message& from) {
06789   if (&from == this) return;
06790   Clear();
06791   MergeFrom(from);
06792 }
06793 
06794 void Table::CopyFrom(const Table& from) {
06795   if (&from == this) return;
06796   Clear();
06797   MergeFrom(from);
06798 }
06799 
06800 bool Table::IsInitialized() const {
06801   if ((_has_bits_[0] & 0x0000030f) != 0x0000030f) return false;
06802   
06803   if (has_engine()) {
06804     if (!this->engine().IsInitialized()) return false;
06805   }
06806   for (int i = 0; i < field_size(); i++) {
06807     if (!this->field(i).IsInitialized()) return false;
06808   }
06809   for (int i = 0; i < indexes_size(); i++) {
06810     if (!this->indexes(i).IsInitialized()) return false;
06811   }
06812   for (int i = 0; i < fk_constraint_size(); i++) {
06813     if (!this->fk_constraint(i).IsInitialized()) return false;
06814   }
06815   return true;
06816 }
06817 
06818 void Table::Swap(Table* other) {
06819   if (other != this) {
06820     std::swap(name_, other->name_);
06821     std::swap(schema_, other->schema_);
06822     std::swap(type_, other->type_);
06823     std::swap(engine_, other->engine_);
06824     field_.Swap(&other->field_);
06825     indexes_.Swap(&other->indexes_);
06826     fk_constraint_.Swap(&other->fk_constraint_);
06827     std::swap(options_, other->options_);
06828     std::swap(creation_timestamp_, other->creation_timestamp_);
06829     std::swap(update_timestamp_, other->update_timestamp_);
06830     std::swap(catalog_, other->catalog_);
06831     std::swap(uuid_, other->uuid_);
06832     std::swap(version_, other->version_);
06833     std::swap(replication_options_, other->replication_options_);
06834     std::swap(access_, other->access_);
06835     std::swap(_has_bits_[0], other->_has_bits_[0]);
06836     _unknown_fields_.Swap(&other->_unknown_fields_);
06837     std::swap(_cached_size_, other->_cached_size_);
06838   }
06839 }
06840 
06841 ::google::protobuf::Metadata Table::GetMetadata() const {
06842   protobuf_AssignDescriptorsOnce();
06843   ::google::protobuf::Metadata metadata;
06844   metadata.descriptor = Table_descriptor_;
06845   metadata.reflection = Table_reflection_;
06846   return metadata;
06847 }
06848 
06849 
06850 // ===================================================================
06851 
06852 #ifndef _MSC_VER
06853 const int AddedFields::kAddedFieldFieldNumber;
06854 #endif  // !_MSC_VER
06855 
06856 AddedFields::AddedFields()
06857   : ::google::protobuf::Message() {
06858   SharedCtor();
06859 }
06860 
06861 void AddedFields::InitAsDefaultInstance() {
06862 }
06863 
06864 AddedFields::AddedFields(const AddedFields& from)
06865   : ::google::protobuf::Message() {
06866   SharedCtor();
06867   MergeFrom(from);
06868 }
06869 
06870 void AddedFields::SharedCtor() {
06871   _cached_size_ = 0;
06872   ::memset(_has_bits_, 0, sizeof(_has_bits_));
06873 }
06874 
06875 AddedFields::~AddedFields() {
06876   SharedDtor();
06877 }
06878 
06879 void AddedFields::SharedDtor() {
06880   if (this != default_instance_) {
06881   }
06882 }
06883 
06884 void AddedFields::SetCachedSize(int size) const {
06885   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
06886   _cached_size_ = size;
06887   GOOGLE_SAFE_CONCURRENT_WRITES_END();
06888 }
06889 const ::google::protobuf::Descriptor* AddedFields::descriptor() {
06890   protobuf_AssignDescriptorsOnce();
06891   return AddedFields_descriptor_;
06892 }
06893 
06894 const AddedFields& AddedFields::default_instance() {
06895   if (default_instance_ == NULL) protobuf_AddDesc_table_2eproto();  return *default_instance_;
06896 }
06897 
06898 AddedFields* AddedFields::default_instance_ = NULL;
06899 
06900 AddedFields* AddedFields::New() const {
06901   return new AddedFields;
06902 }
06903 
06904 void AddedFields::Clear() {
06905   added_field_.Clear();
06906   ::memset(_has_bits_, 0, sizeof(_has_bits_));
06907   mutable_unknown_fields()->Clear();
06908 }
06909 
06910 bool AddedFields::MergePartialFromCodedStream(
06911     ::google::protobuf::io::CodedInputStream* input) {
06912 #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
06913   ::google::protobuf::uint32 tag;
06914   while ((tag = input->ReadTag()) != 0) {
06915     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
06916       // repeated .drizzled.message.Table.Field added_field = 1;
06917       case 1: {
06918         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
06919             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
06920          parse_added_field:
06921           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
06922                 input, add_added_field()));
06923         } else {
06924           goto handle_uninterpreted;
06925         }
06926         if (input->ExpectTag(10)) goto parse_added_field;
06927         if (input->ExpectAtEnd()) return true;
06928         break;
06929       }
06930       
06931       default: {
06932       handle_uninterpreted:
06933         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
06934             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
06935           return true;
06936         }
06937         DO_(::google::protobuf::internal::WireFormat::SkipField(
06938               input, tag, mutable_unknown_fields()));
06939         break;
06940       }
06941     }
06942   }
06943   return true;
06944 #undef DO_
06945 }
06946 
06947 void AddedFields::SerializeWithCachedSizes(
06948     ::google::protobuf::io::CodedOutputStream* output) const {
06949   // repeated .drizzled.message.Table.Field added_field = 1;
06950   for (int i = 0; i < this->added_field_size(); i++) {
06951     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
06952       1, this->added_field(i), output);
06953   }
06954   
06955   if (!unknown_fields().empty()) {
06956     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
06957         unknown_fields(), output);
06958   }
06959 }
06960 
06961 ::google::protobuf::uint8* AddedFields::SerializeWithCachedSizesToArray(
06962     ::google::protobuf::uint8* target) const {
06963   // repeated .drizzled.message.Table.Field added_field = 1;
06964   for (int i = 0; i < this->added_field_size(); i++) {
06965     target = ::google::protobuf::internal::WireFormatLite::
06966       WriteMessageNoVirtualToArray(
06967         1, this->added_field(i), target);
06968   }
06969   
06970   if (!unknown_fields().empty()) {
06971     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
06972         unknown_fields(), target);
06973   }
06974   return target;
06975 }
06976 
06977 int AddedFields::ByteSize() const {
06978   int total_size = 0;
06979   
06980   // repeated .drizzled.message.Table.Field added_field = 1;
06981   total_size += 1 * this->added_field_size();
06982   for (int i = 0; i < this->added_field_size(); i++) {
06983     total_size +=
06984       ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
06985         this->added_field(i));
06986   }
06987   
06988   if (!unknown_fields().empty()) {
06989     total_size +=
06990       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
06991         unknown_fields());
06992   }
06993   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
06994   _cached_size_ = total_size;
06995   GOOGLE_SAFE_CONCURRENT_WRITES_END();
06996   return total_size;
06997 }
06998 
06999 void AddedFields::MergeFrom(const ::google::protobuf::Message& from) {
07000   GOOGLE_CHECK_NE(&from, this);
07001   const AddedFields* source =
07002     ::google::protobuf::internal::dynamic_cast_if_available<const AddedFields*>(
07003       &from);
07004   if (source == NULL) {
07005     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
07006   } else {
07007     MergeFrom(*source);
07008   }
07009 }
07010 
07011 void AddedFields::MergeFrom(const AddedFields& from) {
07012   GOOGLE_CHECK_NE(&from, this);
07013   added_field_.MergeFrom(from.added_field_);
07014   mutable_unknown_fields()->MergeFrom(from.unknown_fields());
07015 }
07016 
07017 void AddedFields::CopyFrom(const ::google::protobuf::Message& from) {
07018   if (&from == this) return;
07019   Clear();
07020   MergeFrom(from);
07021 }
07022 
07023 void AddedFields::CopyFrom(const AddedFields& from) {
07024   if (&from == this) return;
07025   Clear();
07026   MergeFrom(from);
07027 }
07028 
07029 bool AddedFields::IsInitialized() const {
07030   
07031   for (int i = 0; i < added_field_size(); i++) {
07032     if (!this->added_field(i).IsInitialized()) return false;
07033   }
07034   return true;
07035 }
07036 
07037 void AddedFields::Swap(AddedFields* other) {
07038   if (other != this) {
07039     added_field_.Swap(&other->added_field_);
07040     std::swap(_has_bits_[0], other->_has_bits_[0]);
07041     _unknown_fields_.Swap(&other->_unknown_fields_);
07042     std::swap(_cached_size_, other->_cached_size_);
07043   }
07044 }
07045 
07046 ::google::protobuf::Metadata AddedFields::GetMetadata() const {
07047   protobuf_AssignDescriptorsOnce();
07048   ::google::protobuf::Metadata metadata;
07049   metadata.descriptor = AddedFields_descriptor_;
07050   metadata.reflection = AddedFields_reflection_;
07051   return metadata;
07052 }
07053 
07054 
07055 // @@protoc_insertion_point(namespace_scope)
07056 
07057 }  // namespace message
07058 }  // namespace drizzled
07059 
07060 // @@protoc_insertion_point(global_scope)