00001
00002
00003
00004 #ifndef PROTOBUF_table_2eproto__INCLUDED
00005 #define PROTOBUF_table_2eproto__INCLUDED
00006
00007 #include <string>
00008
00009 #include <google/protobuf/stubs/common.h>
00010
00011 #if GOOGLE_PROTOBUF_VERSION < 2004000
00012 #error This file was generated by a newer version of protoc which is
00013 #error incompatible with your Protocol Buffer headers. Please update
00014 #error your headers.
00015 #endif
00016 #if 2004001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
00017 #error This file was generated by an older version of protoc which is
00018 #error incompatible with your Protocol Buffer headers. Please
00019 #error regenerate this file with a newer version of protoc.
00020 #endif
00021
00022 #include <google/protobuf/generated_message_util.h>
00023 #include <google/protobuf/repeated_field.h>
00024 #include <google/protobuf/extension_set.h>
00025 #include <google/protobuf/generated_message_reflection.h>
00026 #include "engine.pb.h"
00027 #include "access.pb.h"
00028 #include "replication_options.pb.h"
00029
00030
00031 namespace drizzled {
00032 namespace message {
00033
00034
00035 void protobuf_AddDesc_table_2eproto();
00036 void protobuf_AssignDesc_table_2eproto();
00037 void protobuf_ShutdownFile_table_2eproto();
00038
00039 class Table;
00040 class Table_TableOptions;
00041 class Table_ForeignKeyConstraint;
00042 class Table_Field;
00043 class Table_Field_FieldOptions;
00044 class Table_Field_FieldConstraints;
00045 class Table_Field_NumericFieldOptions;
00046 class Table_Field_StringFieldOptions;
00047 class Table_Field_EnumerationValues;
00048 class Table_Field_TimeFieldOptions;
00049 class Table_Index;
00050 class Table_Index_IndexPart;
00051 class Table_Index_Options;
00052 class AddedFields;
00053
00054 enum Table_ForeignKeyConstraint_ForeignKeyMatchOption {
00055 Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_UNDEFINED = 0,
00056 Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_FULL = 1,
00057 Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_PARTIAL = 2,
00058 Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_SIMPLE = 3
00059 };
00060 bool Table_ForeignKeyConstraint_ForeignKeyMatchOption_IsValid(int value);
00061 const Table_ForeignKeyConstraint_ForeignKeyMatchOption Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_MIN = Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_UNDEFINED;
00062 const Table_ForeignKeyConstraint_ForeignKeyMatchOption Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_MAX = Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_SIMPLE;
00063 const int Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_ARRAYSIZE = Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_MAX + 1;
00064
00065 const ::google::protobuf::EnumDescriptor* Table_ForeignKeyConstraint_ForeignKeyMatchOption_descriptor();
00066 inline const ::std::string& Table_ForeignKeyConstraint_ForeignKeyMatchOption_Name(Table_ForeignKeyConstraint_ForeignKeyMatchOption value) {
00067 return ::google::protobuf::internal::NameOfEnum(
00068 Table_ForeignKeyConstraint_ForeignKeyMatchOption_descriptor(), value);
00069 }
00070 inline bool Table_ForeignKeyConstraint_ForeignKeyMatchOption_Parse(
00071 const ::std::string& name, Table_ForeignKeyConstraint_ForeignKeyMatchOption* value) {
00072 return ::google::protobuf::internal::ParseNamedEnum<Table_ForeignKeyConstraint_ForeignKeyMatchOption>(
00073 Table_ForeignKeyConstraint_ForeignKeyMatchOption_descriptor(), name, value);
00074 }
00075 enum Table_ForeignKeyConstraint_ForeignKeyOption {
00076 Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_UNDEF = 0,
00077 Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_RESTRICT = 1,
00078 Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_CASCADE = 2,
00079 Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_SET_NULL = 3,
00080 Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_NO_ACTION = 4,
00081 Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_SET_DEFAULT = 5
00082 };
00083 bool Table_ForeignKeyConstraint_ForeignKeyOption_IsValid(int value);
00084 const Table_ForeignKeyConstraint_ForeignKeyOption Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_MIN = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_UNDEF;
00085 const Table_ForeignKeyConstraint_ForeignKeyOption Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_MAX = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_SET_DEFAULT;
00086 const int Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_ARRAYSIZE = Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_MAX + 1;
00087
00088 const ::google::protobuf::EnumDescriptor* Table_ForeignKeyConstraint_ForeignKeyOption_descriptor();
00089 inline const ::std::string& Table_ForeignKeyConstraint_ForeignKeyOption_Name(Table_ForeignKeyConstraint_ForeignKeyOption value) {
00090 return ::google::protobuf::internal::NameOfEnum(
00091 Table_ForeignKeyConstraint_ForeignKeyOption_descriptor(), value);
00092 }
00093 inline bool Table_ForeignKeyConstraint_ForeignKeyOption_Parse(
00094 const ::std::string& name, Table_ForeignKeyConstraint_ForeignKeyOption* value) {
00095 return ::google::protobuf::internal::ParseNamedEnum<Table_ForeignKeyConstraint_ForeignKeyOption>(
00096 Table_ForeignKeyConstraint_ForeignKeyOption_descriptor(), name, value);
00097 }
00098 enum Table_Field_FieldType {
00099 Table_Field_FieldType_DOUBLE = 0,
00100 Table_Field_FieldType_VARCHAR = 1,
00101 Table_Field_FieldType_BLOB = 2,
00102 Table_Field_FieldType_ENUM = 3,
00103 Table_Field_FieldType_INTEGER = 4,
00104 Table_Field_FieldType_BIGINT = 5,
00105 Table_Field_FieldType_DECIMAL = 6,
00106 Table_Field_FieldType_DATE = 7,
00107 Table_Field_FieldType_EPOCH = 9,
00108 Table_Field_FieldType_DATETIME = 10,
00109 Table_Field_FieldType_UUID = 11,
00110 Table_Field_FieldType_TIME = 12,
00111 Table_Field_FieldType_BOOLEAN = 13,
00112 Table_Field_FieldType_IPV6 = 14
00113 };
00114 bool Table_Field_FieldType_IsValid(int value);
00115 const Table_Field_FieldType Table_Field_FieldType_FieldType_MIN = Table_Field_FieldType_DOUBLE;
00116 const Table_Field_FieldType Table_Field_FieldType_FieldType_MAX = Table_Field_FieldType_IPV6;
00117 const int Table_Field_FieldType_FieldType_ARRAYSIZE = Table_Field_FieldType_FieldType_MAX + 1;
00118
00119 const ::google::protobuf::EnumDescriptor* Table_Field_FieldType_descriptor();
00120 inline const ::std::string& Table_Field_FieldType_Name(Table_Field_FieldType value) {
00121 return ::google::protobuf::internal::NameOfEnum(
00122 Table_Field_FieldType_descriptor(), value);
00123 }
00124 inline bool Table_Field_FieldType_Parse(
00125 const ::std::string& name, Table_Field_FieldType* value) {
00126 return ::google::protobuf::internal::ParseNamedEnum<Table_Field_FieldType>(
00127 Table_Field_FieldType_descriptor(), name, value);
00128 }
00129 enum Table_Index_IndexType {
00130 Table_Index_IndexType_UNKNOWN_INDEX = 0,
00131 Table_Index_IndexType_BTREE = 1,
00132 Table_Index_IndexType_RTREE = 2,
00133 Table_Index_IndexType_HASH = 3,
00134 Table_Index_IndexType_FULLTEXT = 4
00135 };
00136 bool Table_Index_IndexType_IsValid(int value);
00137 const Table_Index_IndexType Table_Index_IndexType_IndexType_MIN = Table_Index_IndexType_UNKNOWN_INDEX;
00138 const Table_Index_IndexType Table_Index_IndexType_IndexType_MAX = Table_Index_IndexType_FULLTEXT;
00139 const int Table_Index_IndexType_IndexType_ARRAYSIZE = Table_Index_IndexType_IndexType_MAX + 1;
00140
00141 const ::google::protobuf::EnumDescriptor* Table_Index_IndexType_descriptor();
00142 inline const ::std::string& Table_Index_IndexType_Name(Table_Index_IndexType value) {
00143 return ::google::protobuf::internal::NameOfEnum(
00144 Table_Index_IndexType_descriptor(), value);
00145 }
00146 inline bool Table_Index_IndexType_Parse(
00147 const ::std::string& name, Table_Index_IndexType* value) {
00148 return ::google::protobuf::internal::ParseNamedEnum<Table_Index_IndexType>(
00149 Table_Index_IndexType_descriptor(), name, value);
00150 }
00151 enum Table_TableType {
00152 Table_TableType_STANDARD = 0,
00153 Table_TableType_TEMPORARY = 1,
00154 Table_TableType_INTERNAL = 2,
00155 Table_TableType_FUNCTION = 3
00156 };
00157 bool Table_TableType_IsValid(int value);
00158 const Table_TableType Table_TableType_TableType_MIN = Table_TableType_STANDARD;
00159 const Table_TableType Table_TableType_TableType_MAX = Table_TableType_FUNCTION;
00160 const int Table_TableType_TableType_ARRAYSIZE = Table_TableType_TableType_MAX + 1;
00161
00162 const ::google::protobuf::EnumDescriptor* Table_TableType_descriptor();
00163 inline const ::std::string& Table_TableType_Name(Table_TableType value) {
00164 return ::google::protobuf::internal::NameOfEnum(
00165 Table_TableType_descriptor(), value);
00166 }
00167 inline bool Table_TableType_Parse(
00168 const ::std::string& name, Table_TableType* value) {
00169 return ::google::protobuf::internal::ParseNamedEnum<Table_TableType>(
00170 Table_TableType_descriptor(), name, value);
00171 }
00172
00173
00174 class Table_TableOptions : public ::google::protobuf::Message {
00175 public:
00176 Table_TableOptions();
00177 virtual ~Table_TableOptions();
00178
00179 Table_TableOptions(const Table_TableOptions& from);
00180
00181 inline Table_TableOptions& operator=(const Table_TableOptions& from) {
00182 CopyFrom(from);
00183 return *this;
00184 }
00185
00186 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00187 return _unknown_fields_;
00188 }
00189
00190 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00191 return &_unknown_fields_;
00192 }
00193
00194 static const ::google::protobuf::Descriptor* descriptor();
00195 static const Table_TableOptions& default_instance();
00196
00197 void Swap(Table_TableOptions* other);
00198
00199
00200
00201 Table_TableOptions* New() const;
00202 void CopyFrom(const ::google::protobuf::Message& from);
00203 void MergeFrom(const ::google::protobuf::Message& from);
00204 void CopyFrom(const Table_TableOptions& from);
00205 void MergeFrom(const Table_TableOptions& from);
00206 void Clear();
00207 bool IsInitialized() const;
00208
00209 int ByteSize() const;
00210 bool MergePartialFromCodedStream(
00211 ::google::protobuf::io::CodedInputStream* input);
00212 void SerializeWithCachedSizes(
00213 ::google::protobuf::io::CodedOutputStream* output) const;
00214 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00215 int GetCachedSize() const { return _cached_size_; }
00216 private:
00217 void SharedCtor();
00218 void SharedDtor();
00219 void SetCachedSize(int size) const;
00220 public:
00221
00222 ::google::protobuf::Metadata GetMetadata() const;
00223
00224
00225
00226
00227
00228
00229 inline bool has_has_user_set_auto_increment_value() const;
00230 inline void clear_has_user_set_auto_increment_value();
00231 static const int kHasUserSetAutoIncrementValueFieldNumber = 1;
00232 inline bool has_user_set_auto_increment_value() const;
00233 inline void set_has_user_set_auto_increment_value(bool value);
00234
00235
00236 inline bool has_collation() const;
00237 inline void clear_collation();
00238 static const int kCollationFieldNumber = 2;
00239 inline const ::std::string& collation() const;
00240 inline void set_collation(const ::std::string& value);
00241 inline void set_collation(const char* value);
00242 inline void set_collation(const char* value, size_t size);
00243 inline ::std::string* mutable_collation();
00244 inline ::std::string* release_collation();
00245
00246
00247 inline bool has_collation_id() const;
00248 inline void clear_collation_id();
00249 static const int kCollationIdFieldNumber = 3;
00250 inline ::google::protobuf::uint32 collation_id() const;
00251 inline void set_collation_id(::google::protobuf::uint32 value);
00252
00253
00254 inline bool has_data_file_name() const;
00255 inline void clear_data_file_name();
00256 static const int kDataFileNameFieldNumber = 5;
00257 inline const ::std::string& data_file_name() const;
00258 inline void set_data_file_name(const ::std::string& value);
00259 inline void set_data_file_name(const char* value);
00260 inline void set_data_file_name(const char* value, size_t size);
00261 inline ::std::string* mutable_data_file_name();
00262 inline ::std::string* release_data_file_name();
00263
00264
00265 inline bool has_index_file_name() const;
00266 inline void clear_index_file_name();
00267 static const int kIndexFileNameFieldNumber = 6;
00268 inline const ::std::string& index_file_name() const;
00269 inline void set_index_file_name(const ::std::string& value);
00270 inline void set_index_file_name(const char* value);
00271 inline void set_index_file_name(const char* value, size_t size);
00272 inline ::std::string* mutable_index_file_name();
00273 inline ::std::string* release_index_file_name();
00274
00275
00276 inline bool has_max_rows() const;
00277 inline void clear_max_rows();
00278 static const int kMaxRowsFieldNumber = 7;
00279 inline ::google::protobuf::uint64 max_rows() const;
00280 inline void set_max_rows(::google::protobuf::uint64 value);
00281
00282
00283 inline bool has_min_rows() const;
00284 inline void clear_min_rows();
00285 static const int kMinRowsFieldNumber = 8;
00286 inline ::google::protobuf::uint64 min_rows() const;
00287 inline void set_min_rows(::google::protobuf::uint64 value);
00288
00289
00290 inline bool has_auto_increment_value() const;
00291 inline void clear_auto_increment_value();
00292 static const int kAutoIncrementValueFieldNumber = 9;
00293 inline ::google::protobuf::uint64 auto_increment_value() const;
00294 inline void set_auto_increment_value(::google::protobuf::uint64 value);
00295
00296
00297 inline bool has_avg_row_length() const;
00298 inline void clear_avg_row_length();
00299 static const int kAvgRowLengthFieldNumber = 11;
00300 inline ::google::protobuf::uint32 avg_row_length() const;
00301 inline void set_avg_row_length(::google::protobuf::uint32 value);
00302
00303
00304 inline bool has_block_size() const;
00305 inline void clear_block_size();
00306 static const int kBlockSizeFieldNumber = 13;
00307 inline ::google::protobuf::uint32 block_size() const;
00308 inline void set_block_size(::google::protobuf::uint32 value);
00309
00310
00311 inline bool has_comment() const;
00312 inline void clear_comment();
00313 static const int kCommentFieldNumber = 14;
00314 inline const ::std::string& comment() const;
00315 inline void set_comment(const ::std::string& value);
00316 inline void set_comment(const char* value);
00317 inline void set_comment(const char* value, size_t size);
00318 inline ::std::string* mutable_comment();
00319 inline ::std::string* release_comment();
00320
00321
00322 inline bool has_pack_record() const;
00323 inline void clear_pack_record();
00324 static const int kPackRecordFieldNumber = 16;
00325 inline bool pack_record() const;
00326 inline void set_pack_record(bool value);
00327
00328
00329 inline bool has_checksum() const;
00330 inline void clear_checksum();
00331 static const int kChecksumFieldNumber = 17;
00332 inline bool checksum() const;
00333 inline void set_checksum(bool value);
00334
00335
00336 inline bool has_page_checksum() const;
00337 inline void clear_page_checksum();
00338 static const int kPageChecksumFieldNumber = 18;
00339 inline bool page_checksum() const;
00340 inline void set_page_checksum(bool value);
00341
00342
00343 inline bool has_delay_key_write() const;
00344 inline void clear_delay_key_write();
00345 static const int kDelayKeyWriteFieldNumber = 19;
00346 inline bool delay_key_write() const;
00347 inline void set_delay_key_write(bool value);
00348
00349
00350 inline bool has_unused() const;
00351 inline void clear_unused();
00352 static const int kUnusedFieldNumber = 20;
00353 inline bool unused() const;
00354 inline void set_unused(bool value);
00355
00356
00357 private:
00358 inline void set_has_has_user_set_auto_increment_value();
00359 inline void clear_has_has_user_set_auto_increment_value();
00360 inline void set_has_collation();
00361 inline void clear_has_collation();
00362 inline void set_has_collation_id();
00363 inline void clear_has_collation_id();
00364 inline void set_has_data_file_name();
00365 inline void clear_has_data_file_name();
00366 inline void set_has_index_file_name();
00367 inline void clear_has_index_file_name();
00368 inline void set_has_max_rows();
00369 inline void clear_has_max_rows();
00370 inline void set_has_min_rows();
00371 inline void clear_has_min_rows();
00372 inline void set_has_auto_increment_value();
00373 inline void clear_has_auto_increment_value();
00374 inline void set_has_avg_row_length();
00375 inline void clear_has_avg_row_length();
00376 inline void set_has_block_size();
00377 inline void clear_has_block_size();
00378 inline void set_has_comment();
00379 inline void clear_has_comment();
00380 inline void set_has_pack_record();
00381 inline void clear_has_pack_record();
00382 inline void set_has_checksum();
00383 inline void clear_has_checksum();
00384 inline void set_has_page_checksum();
00385 inline void clear_has_page_checksum();
00386 inline void set_has_delay_key_write();
00387 inline void clear_has_delay_key_write();
00388 inline void set_has_unused();
00389 inline void clear_has_unused();
00390
00391 ::google::protobuf::UnknownFieldSet _unknown_fields_;
00392
00393 ::std::string* collation_;
00394 ::std::string* data_file_name_;
00395 ::std::string* index_file_name_;
00396 ::google::protobuf::uint64 max_rows_;
00397 ::google::protobuf::uint32 collation_id_;
00398 ::google::protobuf::uint32 avg_row_length_;
00399 ::google::protobuf::uint64 min_rows_;
00400 ::google::protobuf::uint64 auto_increment_value_;
00401 ::google::protobuf::uint32 block_size_;
00402 bool has_user_set_auto_increment_value_;
00403 bool pack_record_;
00404 bool checksum_;
00405 bool page_checksum_;
00406 ::std::string* comment_;
00407 bool delay_key_write_;
00408 bool unused_;
00409
00410 mutable int _cached_size_;
00411 ::google::protobuf::uint32 _has_bits_[(16 + 31) / 32];
00412
00413 friend void protobuf_AddDesc_table_2eproto();
00414 friend void protobuf_AssignDesc_table_2eproto();
00415 friend void protobuf_ShutdownFile_table_2eproto();
00416
00417 void InitAsDefaultInstance();
00418 static Table_TableOptions* default_instance_;
00419 };
00420
00421
00422 class Table_ForeignKeyConstraint : public ::google::protobuf::Message {
00423 public:
00424 Table_ForeignKeyConstraint();
00425 virtual ~Table_ForeignKeyConstraint();
00426
00427 Table_ForeignKeyConstraint(const Table_ForeignKeyConstraint& from);
00428
00429 inline Table_ForeignKeyConstraint& operator=(const Table_ForeignKeyConstraint& from) {
00430 CopyFrom(from);
00431 return *this;
00432 }
00433
00434 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00435 return _unknown_fields_;
00436 }
00437
00438 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00439 return &_unknown_fields_;
00440 }
00441
00442 static const ::google::protobuf::Descriptor* descriptor();
00443 static const Table_ForeignKeyConstraint& default_instance();
00444
00445 void Swap(Table_ForeignKeyConstraint* other);
00446
00447
00448
00449 Table_ForeignKeyConstraint* New() const;
00450 void CopyFrom(const ::google::protobuf::Message& from);
00451 void MergeFrom(const ::google::protobuf::Message& from);
00452 void CopyFrom(const Table_ForeignKeyConstraint& from);
00453 void MergeFrom(const Table_ForeignKeyConstraint& from);
00454 void Clear();
00455 bool IsInitialized() const;
00456
00457 int ByteSize() const;
00458 bool MergePartialFromCodedStream(
00459 ::google::protobuf::io::CodedInputStream* input);
00460 void SerializeWithCachedSizes(
00461 ::google::protobuf::io::CodedOutputStream* output) const;
00462 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00463 int GetCachedSize() const { return _cached_size_; }
00464 private:
00465 void SharedCtor();
00466 void SharedDtor();
00467 void SetCachedSize(int size) const;
00468 public:
00469
00470 ::google::protobuf::Metadata GetMetadata() const;
00471
00472
00473
00474 typedef Table_ForeignKeyConstraint_ForeignKeyMatchOption ForeignKeyMatchOption;
00475 static const ForeignKeyMatchOption MATCH_UNDEFINED = Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_UNDEFINED;
00476 static const ForeignKeyMatchOption MATCH_FULL = Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_FULL;
00477 static const ForeignKeyMatchOption MATCH_PARTIAL = Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_PARTIAL;
00478 static const ForeignKeyMatchOption MATCH_SIMPLE = Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_SIMPLE;
00479 static inline bool ForeignKeyMatchOption_IsValid(int value) {
00480 return Table_ForeignKeyConstraint_ForeignKeyMatchOption_IsValid(value);
00481 }
00482 static const ForeignKeyMatchOption ForeignKeyMatchOption_MIN =
00483 Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_MIN;
00484 static const ForeignKeyMatchOption ForeignKeyMatchOption_MAX =
00485 Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_MAX;
00486 static const int ForeignKeyMatchOption_ARRAYSIZE =
00487 Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_ARRAYSIZE;
00488 static inline const ::google::protobuf::EnumDescriptor*
00489 ForeignKeyMatchOption_descriptor() {
00490 return Table_ForeignKeyConstraint_ForeignKeyMatchOption_descriptor();
00491 }
00492 static inline const ::std::string& ForeignKeyMatchOption_Name(ForeignKeyMatchOption value) {
00493 return Table_ForeignKeyConstraint_ForeignKeyMatchOption_Name(value);
00494 }
00495 static inline bool ForeignKeyMatchOption_Parse(const ::std::string& name,
00496 ForeignKeyMatchOption* value) {
00497 return Table_ForeignKeyConstraint_ForeignKeyMatchOption_Parse(name, value);
00498 }
00499
00500 typedef Table_ForeignKeyConstraint_ForeignKeyOption ForeignKeyOption;
00501 static const ForeignKeyOption OPTION_UNDEF = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_UNDEF;
00502 static const ForeignKeyOption OPTION_RESTRICT = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_RESTRICT;
00503 static const ForeignKeyOption OPTION_CASCADE = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_CASCADE;
00504 static const ForeignKeyOption OPTION_SET_NULL = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_SET_NULL;
00505 static const ForeignKeyOption OPTION_NO_ACTION = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_NO_ACTION;
00506 static const ForeignKeyOption OPTION_SET_DEFAULT = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_SET_DEFAULT;
00507 static inline bool ForeignKeyOption_IsValid(int value) {
00508 return Table_ForeignKeyConstraint_ForeignKeyOption_IsValid(value);
00509 }
00510 static const ForeignKeyOption ForeignKeyOption_MIN =
00511 Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_MIN;
00512 static const ForeignKeyOption ForeignKeyOption_MAX =
00513 Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_MAX;
00514 static const int ForeignKeyOption_ARRAYSIZE =
00515 Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_ARRAYSIZE;
00516 static inline const ::google::protobuf::EnumDescriptor*
00517 ForeignKeyOption_descriptor() {
00518 return Table_ForeignKeyConstraint_ForeignKeyOption_descriptor();
00519 }
00520 static inline const ::std::string& ForeignKeyOption_Name(ForeignKeyOption value) {
00521 return Table_ForeignKeyConstraint_ForeignKeyOption_Name(value);
00522 }
00523 static inline bool ForeignKeyOption_Parse(const ::std::string& name,
00524 ForeignKeyOption* value) {
00525 return Table_ForeignKeyConstraint_ForeignKeyOption_Parse(name, value);
00526 }
00527
00528
00529
00530
00531 inline bool has_name() const;
00532 inline void clear_name();
00533 static const int kNameFieldNumber = 1;
00534 inline const ::std::string& name() const;
00535 inline void set_name(const ::std::string& value);
00536 inline void set_name(const char* value);
00537 inline void set_name(const char* value, size_t size);
00538 inline ::std::string* mutable_name();
00539 inline ::std::string* release_name();
00540
00541
00542 inline int column_names_size() const;
00543 inline void clear_column_names();
00544 static const int kColumnNamesFieldNumber = 2;
00545 inline const ::std::string& column_names(int index) const;
00546 inline ::std::string* mutable_column_names(int index);
00547 inline void set_column_names(int index, const ::std::string& value);
00548 inline void set_column_names(int index, const char* value);
00549 inline void set_column_names(int index, const char* value, size_t size);
00550 inline ::std::string* add_column_names();
00551 inline void add_column_names(const ::std::string& value);
00552 inline void add_column_names(const char* value);
00553 inline void add_column_names(const char* value, size_t size);
00554 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& column_names() const;
00555 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_column_names();
00556
00557
00558 inline bool has_references_table_name() const;
00559 inline void clear_references_table_name();
00560 static const int kReferencesTableNameFieldNumber = 3;
00561 inline const ::std::string& references_table_name() const;
00562 inline void set_references_table_name(const ::std::string& value);
00563 inline void set_references_table_name(const char* value);
00564 inline void set_references_table_name(const char* value, size_t size);
00565 inline ::std::string* mutable_references_table_name();
00566 inline ::std::string* release_references_table_name();
00567
00568
00569 inline int references_columns_size() const;
00570 inline void clear_references_columns();
00571 static const int kReferencesColumnsFieldNumber = 4;
00572 inline const ::std::string& references_columns(int index) const;
00573 inline ::std::string* mutable_references_columns(int index);
00574 inline void set_references_columns(int index, const ::std::string& value);
00575 inline void set_references_columns(int index, const char* value);
00576 inline void set_references_columns(int index, const char* value, size_t size);
00577 inline ::std::string* add_references_columns();
00578 inline void add_references_columns(const ::std::string& value);
00579 inline void add_references_columns(const char* value);
00580 inline void add_references_columns(const char* value, size_t size);
00581 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& references_columns() const;
00582 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_references_columns();
00583
00584
00585 inline bool has_match() const;
00586 inline void clear_match();
00587 static const int kMatchFieldNumber = 5;
00588 inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption match() const;
00589 inline void set_match(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption value);
00590
00591
00592 inline bool has_update_option() const;
00593 inline void clear_update_option();
00594 static const int kUpdateOptionFieldNumber = 6;
00595 inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption update_option() const;
00596 inline void set_update_option(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption value);
00597
00598
00599 inline bool has_delete_option() const;
00600 inline void clear_delete_option();
00601 static const int kDeleteOptionFieldNumber = 7;
00602 inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption delete_option() const;
00603 inline void set_delete_option(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption value);
00604
00605
00606 private:
00607 inline void set_has_name();
00608 inline void clear_has_name();
00609 inline void set_has_references_table_name();
00610 inline void clear_has_references_table_name();
00611 inline void set_has_match();
00612 inline void clear_has_match();
00613 inline void set_has_update_option();
00614 inline void clear_has_update_option();
00615 inline void set_has_delete_option();
00616 inline void clear_has_delete_option();
00617
00618 ::google::protobuf::UnknownFieldSet _unknown_fields_;
00619
00620 ::std::string* name_;
00621 ::google::protobuf::RepeatedPtrField< ::std::string> column_names_;
00622 ::std::string* references_table_name_;
00623 ::google::protobuf::RepeatedPtrField< ::std::string> references_columns_;
00624 int match_;
00625 int update_option_;
00626 int delete_option_;
00627
00628 mutable int _cached_size_;
00629 ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32];
00630
00631 friend void protobuf_AddDesc_table_2eproto();
00632 friend void protobuf_AssignDesc_table_2eproto();
00633 friend void protobuf_ShutdownFile_table_2eproto();
00634
00635 void InitAsDefaultInstance();
00636 static Table_ForeignKeyConstraint* default_instance_;
00637 };
00638
00639
00640 class Table_Field_FieldOptions : public ::google::protobuf::Message {
00641 public:
00642 Table_Field_FieldOptions();
00643 virtual ~Table_Field_FieldOptions();
00644
00645 Table_Field_FieldOptions(const Table_Field_FieldOptions& from);
00646
00647 inline Table_Field_FieldOptions& operator=(const Table_Field_FieldOptions& from) {
00648 CopyFrom(from);
00649 return *this;
00650 }
00651
00652 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00653 return _unknown_fields_;
00654 }
00655
00656 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00657 return &_unknown_fields_;
00658 }
00659
00660 static const ::google::protobuf::Descriptor* descriptor();
00661 static const Table_Field_FieldOptions& default_instance();
00662
00663 void Swap(Table_Field_FieldOptions* other);
00664
00665
00666
00667 Table_Field_FieldOptions* New() const;
00668 void CopyFrom(const ::google::protobuf::Message& from);
00669 void MergeFrom(const ::google::protobuf::Message& from);
00670 void CopyFrom(const Table_Field_FieldOptions& from);
00671 void MergeFrom(const Table_Field_FieldOptions& from);
00672 void Clear();
00673 bool IsInitialized() const;
00674
00675 int ByteSize() const;
00676 bool MergePartialFromCodedStream(
00677 ::google::protobuf::io::CodedInputStream* input);
00678 void SerializeWithCachedSizes(
00679 ::google::protobuf::io::CodedOutputStream* output) const;
00680 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00681 int GetCachedSize() const { return _cached_size_; }
00682 private:
00683 void SharedCtor();
00684 void SharedDtor();
00685 void SetCachedSize(int size) const;
00686 public:
00687
00688 ::google::protobuf::Metadata GetMetadata() const;
00689
00690
00691
00692
00693
00694
00695 inline bool has_default_value() const;
00696 inline void clear_default_value();
00697 static const int kDefaultValueFieldNumber = 1;
00698 inline const ::std::string& default_value() const;
00699 inline void set_default_value(const ::std::string& value);
00700 inline void set_default_value(const char* value);
00701 inline void set_default_value(const char* value, size_t size);
00702 inline ::std::string* mutable_default_value();
00703 inline ::std::string* release_default_value();
00704
00705
00706 inline bool has_update_value() const;
00707 inline void clear_update_value();
00708 static const int kUpdateValueFieldNumber = 2;
00709 inline const ::std::string& update_value() const;
00710 inline void set_update_value(const ::std::string& value);
00711 inline void set_update_value(const char* value);
00712 inline void set_update_value(const char* value, size_t size);
00713 inline ::std::string* mutable_update_value();
00714 inline ::std::string* release_update_value();
00715
00716
00717 inline bool has_default_null() const;
00718 inline void clear_default_null();
00719 static const int kDefaultNullFieldNumber = 3;
00720 inline bool default_null() const;
00721 inline void set_default_null(bool value);
00722
00723
00724 inline bool has_default_bin_value() const;
00725 inline void clear_default_bin_value();
00726 static const int kDefaultBinValueFieldNumber = 4;
00727 inline const ::std::string& default_bin_value() const;
00728 inline void set_default_bin_value(const ::std::string& value);
00729 inline void set_default_bin_value(const char* value);
00730 inline void set_default_bin_value(const void* value, size_t size);
00731 inline ::std::string* mutable_default_bin_value();
00732 inline ::std::string* release_default_bin_value();
00733
00734
00735 inline bool has_default_expression() const;
00736 inline void clear_default_expression();
00737 static const int kDefaultExpressionFieldNumber = 5;
00738 inline const ::std::string& default_expression() const;
00739 inline void set_default_expression(const ::std::string& value);
00740 inline void set_default_expression(const char* value);
00741 inline void set_default_expression(const char* value, size_t size);
00742 inline ::std::string* mutable_default_expression();
00743 inline ::std::string* release_default_expression();
00744
00745
00746 inline bool has_update_expression() const;
00747 inline void clear_update_expression();
00748 static const int kUpdateExpressionFieldNumber = 6;
00749 inline const ::std::string& update_expression() const;
00750 inline void set_update_expression(const ::std::string& value);
00751 inline void set_update_expression(const char* value);
00752 inline void set_update_expression(const char* value, size_t size);
00753 inline ::std::string* mutable_update_expression();
00754 inline ::std::string* release_update_expression();
00755
00756
00757 private:
00758 inline void set_has_default_value();
00759 inline void clear_has_default_value();
00760 inline void set_has_update_value();
00761 inline void clear_has_update_value();
00762 inline void set_has_default_null();
00763 inline void clear_has_default_null();
00764 inline void set_has_default_bin_value();
00765 inline void clear_has_default_bin_value();
00766 inline void set_has_default_expression();
00767 inline void clear_has_default_expression();
00768 inline void set_has_update_expression();
00769 inline void clear_has_update_expression();
00770
00771 ::google::protobuf::UnknownFieldSet _unknown_fields_;
00772
00773 ::std::string* default_value_;
00774 ::std::string* update_value_;
00775 ::std::string* default_bin_value_;
00776 ::std::string* default_expression_;
00777 ::std::string* update_expression_;
00778 bool default_null_;
00779
00780 mutable int _cached_size_;
00781 ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32];
00782
00783 friend void protobuf_AddDesc_table_2eproto();
00784 friend void protobuf_AssignDesc_table_2eproto();
00785 friend void protobuf_ShutdownFile_table_2eproto();
00786
00787 void InitAsDefaultInstance();
00788 static Table_Field_FieldOptions* default_instance_;
00789 };
00790
00791
00792 class Table_Field_FieldConstraints : public ::google::protobuf::Message {
00793 public:
00794 Table_Field_FieldConstraints();
00795 virtual ~Table_Field_FieldConstraints();
00796
00797 Table_Field_FieldConstraints(const Table_Field_FieldConstraints& from);
00798
00799 inline Table_Field_FieldConstraints& operator=(const Table_Field_FieldConstraints& from) {
00800 CopyFrom(from);
00801 return *this;
00802 }
00803
00804 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00805 return _unknown_fields_;
00806 }
00807
00808 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00809 return &_unknown_fields_;
00810 }
00811
00812 static const ::google::protobuf::Descriptor* descriptor();
00813 static const Table_Field_FieldConstraints& default_instance();
00814
00815 void Swap(Table_Field_FieldConstraints* other);
00816
00817
00818
00819 Table_Field_FieldConstraints* New() const;
00820 void CopyFrom(const ::google::protobuf::Message& from);
00821 void MergeFrom(const ::google::protobuf::Message& from);
00822 void CopyFrom(const Table_Field_FieldConstraints& from);
00823 void MergeFrom(const Table_Field_FieldConstraints& from);
00824 void Clear();
00825 bool IsInitialized() const;
00826
00827 int ByteSize() const;
00828 bool MergePartialFromCodedStream(
00829 ::google::protobuf::io::CodedInputStream* input);
00830 void SerializeWithCachedSizes(
00831 ::google::protobuf::io::CodedOutputStream* output) const;
00832 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00833 int GetCachedSize() const { return _cached_size_; }
00834 private:
00835 void SharedCtor();
00836 void SharedDtor();
00837 void SetCachedSize(int size) const;
00838 public:
00839
00840 ::google::protobuf::Metadata GetMetadata() const;
00841
00842
00843
00844
00845
00846
00847 inline bool has_is_nullable() const;
00848 inline void clear_is_nullable();
00849 static const int kIsNullableFieldNumber = 1;
00850 inline bool is_nullable() const;
00851 inline void set_is_nullable(bool value);
00852
00853
00854 inline bool has_is_unsigned() const;
00855 inline void clear_is_unsigned();
00856 static const int kIsUnsignedFieldNumber = 2;
00857 inline bool is_unsigned() const;
00858 inline void set_is_unsigned(bool value);
00859
00860
00861 inline bool has_is_notnull() const;
00862 inline void clear_is_notnull();
00863 static const int kIsNotnullFieldNumber = 3;
00864 inline bool is_notnull() const;
00865 inline void set_is_notnull(bool value);
00866
00867
00868 inline bool has_is_unique() const;
00869 inline void clear_is_unique();
00870 static const int kIsUniqueFieldNumber = 4;
00871 inline bool is_unique() const;
00872 inline void set_is_unique(bool value);
00873
00874
00875 inline int expression_size() const;
00876 inline void clear_expression();
00877 static const int kExpressionFieldNumber = 16;
00878 inline const ::std::string& expression(int index) const;
00879 inline ::std::string* mutable_expression(int index);
00880 inline void set_expression(int index, const ::std::string& value);
00881 inline void set_expression(int index, const char* value);
00882 inline void set_expression(int index, const char* value, size_t size);
00883 inline ::std::string* add_expression();
00884 inline void add_expression(const ::std::string& value);
00885 inline void add_expression(const char* value);
00886 inline void add_expression(const char* value, size_t size);
00887 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& expression() const;
00888 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_expression();
00889
00890
00891 private:
00892 inline void set_has_is_nullable();
00893 inline void clear_has_is_nullable();
00894 inline void set_has_is_unsigned();
00895 inline void clear_has_is_unsigned();
00896 inline void set_has_is_notnull();
00897 inline void clear_has_is_notnull();
00898 inline void set_has_is_unique();
00899 inline void clear_has_is_unique();
00900
00901 ::google::protobuf::UnknownFieldSet _unknown_fields_;
00902
00903 ::google::protobuf::RepeatedPtrField< ::std::string> expression_;
00904 bool is_nullable_;
00905 bool is_unsigned_;
00906 bool is_notnull_;
00907 bool is_unique_;
00908
00909 mutable int _cached_size_;
00910 ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
00911
00912 friend void protobuf_AddDesc_table_2eproto();
00913 friend void protobuf_AssignDesc_table_2eproto();
00914 friend void protobuf_ShutdownFile_table_2eproto();
00915
00916 void InitAsDefaultInstance();
00917 static Table_Field_FieldConstraints* default_instance_;
00918 };
00919
00920
00921 class Table_Field_NumericFieldOptions : public ::google::protobuf::Message {
00922 public:
00923 Table_Field_NumericFieldOptions();
00924 virtual ~Table_Field_NumericFieldOptions();
00925
00926 Table_Field_NumericFieldOptions(const Table_Field_NumericFieldOptions& from);
00927
00928 inline Table_Field_NumericFieldOptions& operator=(const Table_Field_NumericFieldOptions& from) {
00929 CopyFrom(from);
00930 return *this;
00931 }
00932
00933 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00934 return _unknown_fields_;
00935 }
00936
00937 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00938 return &_unknown_fields_;
00939 }
00940
00941 static const ::google::protobuf::Descriptor* descriptor();
00942 static const Table_Field_NumericFieldOptions& default_instance();
00943
00944 void Swap(Table_Field_NumericFieldOptions* other);
00945
00946
00947
00948 Table_Field_NumericFieldOptions* New() const;
00949 void CopyFrom(const ::google::protobuf::Message& from);
00950 void MergeFrom(const ::google::protobuf::Message& from);
00951 void CopyFrom(const Table_Field_NumericFieldOptions& from);
00952 void MergeFrom(const Table_Field_NumericFieldOptions& from);
00953 void Clear();
00954 bool IsInitialized() const;
00955
00956 int ByteSize() const;
00957 bool MergePartialFromCodedStream(
00958 ::google::protobuf::io::CodedInputStream* input);
00959 void SerializeWithCachedSizes(
00960 ::google::protobuf::io::CodedOutputStream* output) const;
00961 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00962 int GetCachedSize() const { return _cached_size_; }
00963 private:
00964 void SharedCtor();
00965 void SharedDtor();
00966 void SetCachedSize(int size) const;
00967 public:
00968
00969 ::google::protobuf::Metadata GetMetadata() const;
00970
00971
00972
00973
00974
00975
00976 inline bool has_is_autoincrement() const;
00977 inline void clear_is_autoincrement();
00978 static const int kIsAutoincrementFieldNumber = 1;
00979 inline bool is_autoincrement() const;
00980 inline void set_is_autoincrement(bool value);
00981
00982
00983 inline bool has_scale() const;
00984 inline void clear_scale();
00985 static const int kScaleFieldNumber = 2;
00986 inline ::google::protobuf::uint32 scale() const;
00987 inline void set_scale(::google::protobuf::uint32 value);
00988
00989
00990 inline bool has_precision() const;
00991 inline void clear_precision();
00992 static const int kPrecisionFieldNumber = 3;
00993 inline ::google::protobuf::uint32 precision() const;
00994 inline void set_precision(::google::protobuf::uint32 value);
00995
00996
00997 private:
00998 inline void set_has_is_autoincrement();
00999 inline void clear_has_is_autoincrement();
01000 inline void set_has_scale();
01001 inline void clear_has_scale();
01002 inline void set_has_precision();
01003 inline void clear_has_precision();
01004
01005 ::google::protobuf::UnknownFieldSet _unknown_fields_;
01006
01007 bool is_autoincrement_;
01008 ::google::protobuf::uint32 scale_;
01009 ::google::protobuf::uint32 precision_;
01010
01011 mutable int _cached_size_;
01012 ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
01013
01014 friend void protobuf_AddDesc_table_2eproto();
01015 friend void protobuf_AssignDesc_table_2eproto();
01016 friend void protobuf_ShutdownFile_table_2eproto();
01017
01018 void InitAsDefaultInstance();
01019 static Table_Field_NumericFieldOptions* default_instance_;
01020 };
01021
01022
01023 class Table_Field_StringFieldOptions : public ::google::protobuf::Message {
01024 public:
01025 Table_Field_StringFieldOptions();
01026 virtual ~Table_Field_StringFieldOptions();
01027
01028 Table_Field_StringFieldOptions(const Table_Field_StringFieldOptions& from);
01029
01030 inline Table_Field_StringFieldOptions& operator=(const Table_Field_StringFieldOptions& from) {
01031 CopyFrom(from);
01032 return *this;
01033 }
01034
01035 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
01036 return _unknown_fields_;
01037 }
01038
01039 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
01040 return &_unknown_fields_;
01041 }
01042
01043 static const ::google::protobuf::Descriptor* descriptor();
01044 static const Table_Field_StringFieldOptions& default_instance();
01045
01046 void Swap(Table_Field_StringFieldOptions* other);
01047
01048
01049
01050 Table_Field_StringFieldOptions* New() const;
01051 void CopyFrom(const ::google::protobuf::Message& from);
01052 void MergeFrom(const ::google::protobuf::Message& from);
01053 void CopyFrom(const Table_Field_StringFieldOptions& from);
01054 void MergeFrom(const Table_Field_StringFieldOptions& from);
01055 void Clear();
01056 bool IsInitialized() const;
01057
01058 int ByteSize() const;
01059 bool MergePartialFromCodedStream(
01060 ::google::protobuf::io::CodedInputStream* input);
01061 void SerializeWithCachedSizes(
01062 ::google::protobuf::io::CodedOutputStream* output) const;
01063 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
01064 int GetCachedSize() const { return _cached_size_; }
01065 private:
01066 void SharedCtor();
01067 void SharedDtor();
01068 void SetCachedSize(int size) const;
01069 public:
01070
01071 ::google::protobuf::Metadata GetMetadata() const;
01072
01073
01074
01075
01076
01077
01078 inline bool has_is_fixed_width() const;
01079 inline void clear_is_fixed_width();
01080 static const int kIsFixedWidthFieldNumber = 1;
01081 inline bool is_fixed_width() const;
01082 inline void set_is_fixed_width(bool value);
01083
01084
01085 inline bool has_length() const;
01086 inline void clear_length();
01087 static const int kLengthFieldNumber = 2;
01088 inline ::google::protobuf::uint32 length() const;
01089 inline void set_length(::google::protobuf::uint32 value);
01090
01091
01092 inline bool has_collation_id() const;
01093 inline void clear_collation_id();
01094 static const int kCollationIdFieldNumber = 3;
01095 inline ::google::protobuf::uint32 collation_id() const;
01096 inline void set_collation_id(::google::protobuf::uint32 value);
01097
01098
01099 inline bool has_collation() const;
01100 inline void clear_collation();
01101 static const int kCollationFieldNumber = 4;
01102 inline const ::std::string& collation() const;
01103 inline void set_collation(const ::std::string& value);
01104 inline void set_collation(const char* value);
01105 inline void set_collation(const char* value, size_t size);
01106 inline ::std::string* mutable_collation();
01107 inline ::std::string* release_collation();
01108
01109
01110 private:
01111 inline void set_has_is_fixed_width();
01112 inline void clear_has_is_fixed_width();
01113 inline void set_has_length();
01114 inline void clear_has_length();
01115 inline void set_has_collation_id();
01116 inline void clear_has_collation_id();
01117 inline void set_has_collation();
01118 inline void clear_has_collation();
01119
01120 ::google::protobuf::UnknownFieldSet _unknown_fields_;
01121
01122 bool is_fixed_width_;
01123 ::google::protobuf::uint32 length_;
01124 ::std::string* collation_;
01125 ::google::protobuf::uint32 collation_id_;
01126
01127 mutable int _cached_size_;
01128 ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
01129
01130 friend void protobuf_AddDesc_table_2eproto();
01131 friend void protobuf_AssignDesc_table_2eproto();
01132 friend void protobuf_ShutdownFile_table_2eproto();
01133
01134 void InitAsDefaultInstance();
01135 static Table_Field_StringFieldOptions* default_instance_;
01136 };
01137
01138
01139 class Table_Field_EnumerationValues : public ::google::protobuf::Message {
01140 public:
01141 Table_Field_EnumerationValues();
01142 virtual ~Table_Field_EnumerationValues();
01143
01144 Table_Field_EnumerationValues(const Table_Field_EnumerationValues& from);
01145
01146 inline Table_Field_EnumerationValues& operator=(const Table_Field_EnumerationValues& from) {
01147 CopyFrom(from);
01148 return *this;
01149 }
01150
01151 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
01152 return _unknown_fields_;
01153 }
01154
01155 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
01156 return &_unknown_fields_;
01157 }
01158
01159 static const ::google::protobuf::Descriptor* descriptor();
01160 static const Table_Field_EnumerationValues& default_instance();
01161
01162 void Swap(Table_Field_EnumerationValues* other);
01163
01164
01165
01166 Table_Field_EnumerationValues* New() const;
01167 void CopyFrom(const ::google::protobuf::Message& from);
01168 void MergeFrom(const ::google::protobuf::Message& from);
01169 void CopyFrom(const Table_Field_EnumerationValues& from);
01170 void MergeFrom(const Table_Field_EnumerationValues& from);
01171 void Clear();
01172 bool IsInitialized() const;
01173
01174 int ByteSize() const;
01175 bool MergePartialFromCodedStream(
01176 ::google::protobuf::io::CodedInputStream* input);
01177 void SerializeWithCachedSizes(
01178 ::google::protobuf::io::CodedOutputStream* output) const;
01179 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
01180 int GetCachedSize() const { return _cached_size_; }
01181 private:
01182 void SharedCtor();
01183 void SharedDtor();
01184 void SetCachedSize(int size) const;
01185 public:
01186
01187 ::google::protobuf::Metadata GetMetadata() const;
01188
01189
01190
01191
01192
01193
01194 inline bool has_collation_id() const;
01195 inline void clear_collation_id();
01196 static const int kCollationIdFieldNumber = 2;
01197 inline ::google::protobuf::uint32 collation_id() const;
01198 inline void set_collation_id(::google::protobuf::uint32 value);
01199
01200
01201 inline bool has_collation() const;
01202 inline void clear_collation();
01203 static const int kCollationFieldNumber = 3;
01204 inline const ::std::string& collation() const;
01205 inline void set_collation(const ::std::string& value);
01206 inline void set_collation(const char* value);
01207 inline void set_collation(const char* value, size_t size);
01208 inline ::std::string* mutable_collation();
01209 inline ::std::string* release_collation();
01210
01211
01212 inline int field_value_size() const;
01213 inline void clear_field_value();
01214 static const int kFieldValueFieldNumber = 4;
01215 inline const ::std::string& field_value(int index) const;
01216 inline ::std::string* mutable_field_value(int index);
01217 inline void set_field_value(int index, const ::std::string& value);
01218 inline void set_field_value(int index, const char* value);
01219 inline void set_field_value(int index, const char* value, size_t size);
01220 inline ::std::string* add_field_value();
01221 inline void add_field_value(const ::std::string& value);
01222 inline void add_field_value(const char* value);
01223 inline void add_field_value(const char* value, size_t size);
01224 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& field_value() const;
01225 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_field_value();
01226
01227
01228 private:
01229 inline void set_has_collation_id();
01230 inline void clear_has_collation_id();
01231 inline void set_has_collation();
01232 inline void clear_has_collation();
01233
01234 ::google::protobuf::UnknownFieldSet _unknown_fields_;
01235
01236 ::std::string* collation_;
01237 ::google::protobuf::RepeatedPtrField< ::std::string> field_value_;
01238 ::google::protobuf::uint32 collation_id_;
01239
01240 mutable int _cached_size_;
01241 ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
01242
01243 friend void protobuf_AddDesc_table_2eproto();
01244 friend void protobuf_AssignDesc_table_2eproto();
01245 friend void protobuf_ShutdownFile_table_2eproto();
01246
01247 void InitAsDefaultInstance();
01248 static Table_Field_EnumerationValues* default_instance_;
01249 };
01250
01251
01252 class Table_Field_TimeFieldOptions : public ::google::protobuf::Message {
01253 public:
01254 Table_Field_TimeFieldOptions();
01255 virtual ~Table_Field_TimeFieldOptions();
01256
01257 Table_Field_TimeFieldOptions(const Table_Field_TimeFieldOptions& from);
01258
01259 inline Table_Field_TimeFieldOptions& operator=(const Table_Field_TimeFieldOptions& from) {
01260 CopyFrom(from);
01261 return *this;
01262 }
01263
01264 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
01265 return _unknown_fields_;
01266 }
01267
01268 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
01269 return &_unknown_fields_;
01270 }
01271
01272 static const ::google::protobuf::Descriptor* descriptor();
01273 static const Table_Field_TimeFieldOptions& default_instance();
01274
01275 void Swap(Table_Field_TimeFieldOptions* other);
01276
01277
01278
01279 Table_Field_TimeFieldOptions* New() const;
01280 void CopyFrom(const ::google::protobuf::Message& from);
01281 void MergeFrom(const ::google::protobuf::Message& from);
01282 void CopyFrom(const Table_Field_TimeFieldOptions& from);
01283 void MergeFrom(const Table_Field_TimeFieldOptions& from);
01284 void Clear();
01285 bool IsInitialized() const;
01286
01287 int ByteSize() const;
01288 bool MergePartialFromCodedStream(
01289 ::google::protobuf::io::CodedInputStream* input);
01290 void SerializeWithCachedSizes(
01291 ::google::protobuf::io::CodedOutputStream* output) const;
01292 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
01293 int GetCachedSize() const { return _cached_size_; }
01294 private:
01295 void SharedCtor();
01296 void SharedDtor();
01297 void SetCachedSize(int size) const;
01298 public:
01299
01300 ::google::protobuf::Metadata GetMetadata() const;
01301
01302
01303
01304
01305
01306
01307 inline bool has_microseconds() const;
01308 inline void clear_microseconds();
01309 static const int kMicrosecondsFieldNumber = 1;
01310 inline bool microseconds() const;
01311 inline void set_microseconds(bool value);
01312
01313
01314 private:
01315 inline void set_has_microseconds();
01316 inline void clear_has_microseconds();
01317
01318 ::google::protobuf::UnknownFieldSet _unknown_fields_;
01319
01320 bool microseconds_;
01321
01322 mutable int _cached_size_;
01323 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
01324
01325 friend void protobuf_AddDesc_table_2eproto();
01326 friend void protobuf_AssignDesc_table_2eproto();
01327 friend void protobuf_ShutdownFile_table_2eproto();
01328
01329 void InitAsDefaultInstance();
01330 static Table_Field_TimeFieldOptions* default_instance_;
01331 };
01332
01333
01334 class Table_Field : public ::google::protobuf::Message {
01335 public:
01336 Table_Field();
01337 virtual ~Table_Field();
01338
01339 Table_Field(const Table_Field& from);
01340
01341 inline Table_Field& operator=(const Table_Field& from) {
01342 CopyFrom(from);
01343 return *this;
01344 }
01345
01346 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
01347 return _unknown_fields_;
01348 }
01349
01350 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
01351 return &_unknown_fields_;
01352 }
01353
01354 static const ::google::protobuf::Descriptor* descriptor();
01355 static const Table_Field& default_instance();
01356
01357 void Swap(Table_Field* other);
01358
01359
01360
01361 Table_Field* New() const;
01362 void CopyFrom(const ::google::protobuf::Message& from);
01363 void MergeFrom(const ::google::protobuf::Message& from);
01364 void CopyFrom(const Table_Field& from);
01365 void MergeFrom(const Table_Field& from);
01366 void Clear();
01367 bool IsInitialized() const;
01368
01369 int ByteSize() const;
01370 bool MergePartialFromCodedStream(
01371 ::google::protobuf::io::CodedInputStream* input);
01372 void SerializeWithCachedSizes(
01373 ::google::protobuf::io::CodedOutputStream* output) const;
01374 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
01375 int GetCachedSize() const { return _cached_size_; }
01376 private:
01377 void SharedCtor();
01378 void SharedDtor();
01379 void SetCachedSize(int size) const;
01380 public:
01381
01382 ::google::protobuf::Metadata GetMetadata() const;
01383
01384
01385
01386 typedef Table_Field_FieldOptions FieldOptions;
01387 typedef Table_Field_FieldConstraints FieldConstraints;
01388 typedef Table_Field_NumericFieldOptions NumericFieldOptions;
01389 typedef Table_Field_StringFieldOptions StringFieldOptions;
01390 typedef Table_Field_EnumerationValues EnumerationValues;
01391 typedef Table_Field_TimeFieldOptions TimeFieldOptions;
01392
01393 typedef Table_Field_FieldType FieldType;
01394 static const FieldType DOUBLE = Table_Field_FieldType_DOUBLE;
01395 static const FieldType VARCHAR = Table_Field_FieldType_VARCHAR;
01396 static const FieldType BLOB = Table_Field_FieldType_BLOB;
01397 static const FieldType ENUM = Table_Field_FieldType_ENUM;
01398 static const FieldType INTEGER = Table_Field_FieldType_INTEGER;
01399 static const FieldType BIGINT = Table_Field_FieldType_BIGINT;
01400 static const FieldType DECIMAL = Table_Field_FieldType_DECIMAL;
01401 static const FieldType DATE = Table_Field_FieldType_DATE;
01402 static const FieldType EPOCH = Table_Field_FieldType_EPOCH;
01403 static const FieldType DATETIME = Table_Field_FieldType_DATETIME;
01404 static const FieldType UUID = Table_Field_FieldType_UUID;
01405 static const FieldType TIME = Table_Field_FieldType_TIME;
01406 static const FieldType BOOLEAN = Table_Field_FieldType_BOOLEAN;
01407 static const FieldType IPV6 = Table_Field_FieldType_IPV6;
01408 static inline bool FieldType_IsValid(int value) {
01409 return Table_Field_FieldType_IsValid(value);
01410 }
01411 static const FieldType FieldType_MIN =
01412 Table_Field_FieldType_FieldType_MIN;
01413 static const FieldType FieldType_MAX =
01414 Table_Field_FieldType_FieldType_MAX;
01415 static const int FieldType_ARRAYSIZE =
01416 Table_Field_FieldType_FieldType_ARRAYSIZE;
01417 static inline const ::google::protobuf::EnumDescriptor*
01418 FieldType_descriptor() {
01419 return Table_Field_FieldType_descriptor();
01420 }
01421 static inline const ::std::string& FieldType_Name(FieldType value) {
01422 return Table_Field_FieldType_Name(value);
01423 }
01424 static inline bool FieldType_Parse(const ::std::string& name,
01425 FieldType* value) {
01426 return Table_Field_FieldType_Parse(name, value);
01427 }
01428
01429
01430
01431
01432 inline bool has_name() const;
01433 inline void clear_name();
01434 static const int kNameFieldNumber = 1;
01435 inline const ::std::string& name() const;
01436 inline void set_name(const ::std::string& value);
01437 inline void set_name(const char* value);
01438 inline void set_name(const char* value, size_t size);
01439 inline ::std::string* mutable_name();
01440 inline ::std::string* release_name();
01441
01442
01443 inline bool has_type() const;
01444 inline void clear_type();
01445 static const int kTypeFieldNumber = 2;
01446 inline ::drizzled::message::Table_Field_FieldType type() const;
01447 inline void set_type(::drizzled::message::Table_Field_FieldType value);
01448
01449
01450 inline bool has_options() const;
01451 inline void clear_options();
01452 static const int kOptionsFieldNumber = 4;
01453 inline const ::drizzled::message::Table_Field_FieldOptions& options() const;
01454 inline ::drizzled::message::Table_Field_FieldOptions* mutable_options();
01455 inline ::drizzled::message::Table_Field_FieldOptions* release_options();
01456
01457
01458 inline bool has_constraints() const;
01459 inline void clear_constraints();
01460 static const int kConstraintsFieldNumber = 5;
01461 inline const ::drizzled::message::Table_Field_FieldConstraints& constraints() const;
01462 inline ::drizzled::message::Table_Field_FieldConstraints* mutable_constraints();
01463 inline ::drizzled::message::Table_Field_FieldConstraints* release_constraints();
01464
01465
01466 inline bool has_numeric_options() const;
01467 inline void clear_numeric_options();
01468 static const int kNumericOptionsFieldNumber = 6;
01469 inline const ::drizzled::message::Table_Field_NumericFieldOptions& numeric_options() const;
01470 inline ::drizzled::message::Table_Field_NumericFieldOptions* mutable_numeric_options();
01471 inline ::drizzled::message::Table_Field_NumericFieldOptions* release_numeric_options();
01472
01473
01474 inline bool has_string_options() const;
01475 inline void clear_string_options();
01476 static const int kStringOptionsFieldNumber = 7;
01477 inline const ::drizzled::message::Table_Field_StringFieldOptions& string_options() const;
01478 inline ::drizzled::message::Table_Field_StringFieldOptions* mutable_string_options();
01479 inline ::drizzled::message::Table_Field_StringFieldOptions* release_string_options();
01480
01481
01482 inline bool has_time_options() const;
01483 inline void clear_time_options();
01484 static const int kTimeOptionsFieldNumber = 8;
01485 inline const ::drizzled::message::Table_Field_TimeFieldOptions& time_options() const;
01486 inline ::drizzled::message::Table_Field_TimeFieldOptions* mutable_time_options();
01487 inline ::drizzled::message::Table_Field_TimeFieldOptions* release_time_options();
01488
01489
01490 inline bool has_comment() const;
01491 inline void clear_comment();
01492 static const int kCommentFieldNumber = 16;
01493 inline const ::std::string& comment() const;
01494 inline void set_comment(const ::std::string& value);
01495 inline void set_comment(const char* value);
01496 inline void set_comment(const char* value, size_t size);
01497 inline ::std::string* mutable_comment();
01498 inline ::std::string* release_comment();
01499
01500
01501 inline bool has_enumeration_values() const;
01502 inline void clear_enumeration_values();
01503 static const int kEnumerationValuesFieldNumber = 17;
01504 inline const ::drizzled::message::Table_Field_EnumerationValues& enumeration_values() const;
01505 inline ::drizzled::message::Table_Field_EnumerationValues* mutable_enumeration_values();
01506 inline ::drizzled::message::Table_Field_EnumerationValues* release_enumeration_values();
01507
01508
01509 private:
01510 inline void set_has_name();
01511 inline void clear_has_name();
01512 inline void set_has_type();
01513 inline void clear_has_type();
01514 inline void set_has_options();
01515 inline void clear_has_options();
01516 inline void set_has_constraints();
01517 inline void clear_has_constraints();
01518 inline void set_has_numeric_options();
01519 inline void clear_has_numeric_options();
01520 inline void set_has_string_options();
01521 inline void clear_has_string_options();
01522 inline void set_has_time_options();
01523 inline void clear_has_time_options();
01524 inline void set_has_comment();
01525 inline void clear_has_comment();
01526 inline void set_has_enumeration_values();
01527 inline void clear_has_enumeration_values();
01528
01529 ::google::protobuf::UnknownFieldSet _unknown_fields_;
01530
01531 ::std::string* name_;
01532 ::drizzled::message::Table_Field_FieldOptions* options_;
01533 ::drizzled::message::Table_Field_FieldConstraints* constraints_;
01534 ::drizzled::message::Table_Field_NumericFieldOptions* numeric_options_;
01535 ::drizzled::message::Table_Field_StringFieldOptions* string_options_;
01536 ::drizzled::message::Table_Field_TimeFieldOptions* time_options_;
01537 ::std::string* comment_;
01538 ::drizzled::message::Table_Field_EnumerationValues* enumeration_values_;
01539 int type_;
01540
01541 mutable int _cached_size_;
01542 ::google::protobuf::uint32 _has_bits_[(9 + 31) / 32];
01543
01544 friend void protobuf_AddDesc_table_2eproto();
01545 friend void protobuf_AssignDesc_table_2eproto();
01546 friend void protobuf_ShutdownFile_table_2eproto();
01547
01548 void InitAsDefaultInstance();
01549 static Table_Field* default_instance_;
01550 };
01551
01552
01553 class Table_Index_IndexPart : public ::google::protobuf::Message {
01554 public:
01555 Table_Index_IndexPart();
01556 virtual ~Table_Index_IndexPart();
01557
01558 Table_Index_IndexPart(const Table_Index_IndexPart& from);
01559
01560 inline Table_Index_IndexPart& operator=(const Table_Index_IndexPart& from) {
01561 CopyFrom(from);
01562 return *this;
01563 }
01564
01565 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
01566 return _unknown_fields_;
01567 }
01568
01569 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
01570 return &_unknown_fields_;
01571 }
01572
01573 static const ::google::protobuf::Descriptor* descriptor();
01574 static const Table_Index_IndexPart& default_instance();
01575
01576 void Swap(Table_Index_IndexPart* other);
01577
01578
01579
01580 Table_Index_IndexPart* New() const;
01581 void CopyFrom(const ::google::protobuf::Message& from);
01582 void MergeFrom(const ::google::protobuf::Message& from);
01583 void CopyFrom(const Table_Index_IndexPart& from);
01584 void MergeFrom(const Table_Index_IndexPart& from);
01585 void Clear();
01586 bool IsInitialized() const;
01587
01588 int ByteSize() const;
01589 bool MergePartialFromCodedStream(
01590 ::google::protobuf::io::CodedInputStream* input);
01591 void SerializeWithCachedSizes(
01592 ::google::protobuf::io::CodedOutputStream* output) const;
01593 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
01594 int GetCachedSize() const { return _cached_size_; }
01595 private:
01596 void SharedCtor();
01597 void SharedDtor();
01598 void SetCachedSize(int size) const;
01599 public:
01600
01601 ::google::protobuf::Metadata GetMetadata() const;
01602
01603
01604
01605
01606
01607
01608 inline bool has_fieldnr() const;
01609 inline void clear_fieldnr();
01610 static const int kFieldnrFieldNumber = 1;
01611 inline ::google::protobuf::uint32 fieldnr() const;
01612 inline void set_fieldnr(::google::protobuf::uint32 value);
01613
01614
01615 inline bool has_compare_length() const;
01616 inline void clear_compare_length();
01617 static const int kCompareLengthFieldNumber = 2;
01618 inline ::google::protobuf::uint32 compare_length() const;
01619 inline void set_compare_length(::google::protobuf::uint32 value);
01620
01621
01622 inline bool has_in_reverse_order() const;
01623 inline void clear_in_reverse_order();
01624 static const int kInReverseOrderFieldNumber = 3;
01625 inline bool in_reverse_order() const;
01626 inline void set_in_reverse_order(bool value);
01627
01628
01629 private:
01630 inline void set_has_fieldnr();
01631 inline void clear_has_fieldnr();
01632 inline void set_has_compare_length();
01633 inline void clear_has_compare_length();
01634 inline void set_has_in_reverse_order();
01635 inline void clear_has_in_reverse_order();
01636
01637 ::google::protobuf::UnknownFieldSet _unknown_fields_;
01638
01639 ::google::protobuf::uint32 fieldnr_;
01640 ::google::protobuf::uint32 compare_length_;
01641 bool in_reverse_order_;
01642
01643 mutable int _cached_size_;
01644 ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
01645
01646 friend void protobuf_AddDesc_table_2eproto();
01647 friend void protobuf_AssignDesc_table_2eproto();
01648 friend void protobuf_ShutdownFile_table_2eproto();
01649
01650 void InitAsDefaultInstance();
01651 static Table_Index_IndexPart* default_instance_;
01652 };
01653
01654
01655 class Table_Index_Options : public ::google::protobuf::Message {
01656 public:
01657 Table_Index_Options();
01658 virtual ~Table_Index_Options();
01659
01660 Table_Index_Options(const Table_Index_Options& from);
01661
01662 inline Table_Index_Options& operator=(const Table_Index_Options& from) {
01663 CopyFrom(from);
01664 return *this;
01665 }
01666
01667 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
01668 return _unknown_fields_;
01669 }
01670
01671 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
01672 return &_unknown_fields_;
01673 }
01674
01675 static const ::google::protobuf::Descriptor* descriptor();
01676 static const Table_Index_Options& default_instance();
01677
01678 void Swap(Table_Index_Options* other);
01679
01680
01681
01682 Table_Index_Options* New() const;
01683 void CopyFrom(const ::google::protobuf::Message& from);
01684 void MergeFrom(const ::google::protobuf::Message& from);
01685 void CopyFrom(const Table_Index_Options& from);
01686 void MergeFrom(const Table_Index_Options& from);
01687 void Clear();
01688 bool IsInitialized() const;
01689
01690 int ByteSize() const;
01691 bool MergePartialFromCodedStream(
01692 ::google::protobuf::io::CodedInputStream* input);
01693 void SerializeWithCachedSizes(
01694 ::google::protobuf::io::CodedOutputStream* output) const;
01695 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
01696 int GetCachedSize() const { return _cached_size_; }
01697 private:
01698 void SharedCtor();
01699 void SharedDtor();
01700 void SetCachedSize(int size) const;
01701 public:
01702
01703 ::google::protobuf::Metadata GetMetadata() const;
01704
01705
01706
01707
01708
01709
01710 inline bool has_pack_key() const;
01711 inline void clear_pack_key();
01712 static const int kPackKeyFieldNumber = 1;
01713 inline bool pack_key() const;
01714 inline void set_pack_key(bool value);
01715
01716
01717 inline bool has_binary_pack_key() const;
01718 inline void clear_binary_pack_key();
01719 static const int kBinaryPackKeyFieldNumber = 2;
01720 inline bool binary_pack_key() const;
01721 inline void set_binary_pack_key(bool value);
01722
01723
01724 inline bool has_var_length_key() const;
01725 inline void clear_var_length_key();
01726 static const int kVarLengthKeyFieldNumber = 3;
01727 inline bool var_length_key() const;
01728 inline void set_var_length_key(bool value);
01729
01730
01731 inline bool has_null_part_key() const;
01732 inline void clear_null_part_key();
01733 static const int kNullPartKeyFieldNumber = 4;
01734 inline bool null_part_key() const;
01735 inline void set_null_part_key(bool value);
01736
01737
01738 inline bool has_key_block_size() const;
01739 inline void clear_key_block_size();
01740 static const int kKeyBlockSizeFieldNumber = 5;
01741 inline ::google::protobuf::uint32 key_block_size() const;
01742 inline void set_key_block_size(::google::protobuf::uint32 value);
01743
01744
01745 inline bool has_has_partial_segments() const;
01746 inline void clear_has_partial_segments();
01747 static const int kHasPartialSegmentsFieldNumber = 6;
01748 inline bool has_partial_segments() const;
01749 inline void set_has_partial_segments(bool value);
01750
01751
01752 inline bool has_auto_generated_key() const;
01753 inline void clear_auto_generated_key();
01754 static const int kAutoGeneratedKeyFieldNumber = 7;
01755 inline bool auto_generated_key() const;
01756 inline void set_auto_generated_key(bool value);
01757
01758
01759 private:
01760 inline void set_has_pack_key();
01761 inline void clear_has_pack_key();
01762 inline void set_has_binary_pack_key();
01763 inline void clear_has_binary_pack_key();
01764 inline void set_has_var_length_key();
01765 inline void clear_has_var_length_key();
01766 inline void set_has_null_part_key();
01767 inline void clear_has_null_part_key();
01768 inline void set_has_key_block_size();
01769 inline void clear_has_key_block_size();
01770 inline void set_has_has_partial_segments();
01771 inline void clear_has_has_partial_segments();
01772 inline void set_has_auto_generated_key();
01773 inline void clear_has_auto_generated_key();
01774
01775 ::google::protobuf::UnknownFieldSet _unknown_fields_;
01776
01777 bool pack_key_;
01778 bool binary_pack_key_;
01779 bool var_length_key_;
01780 bool null_part_key_;
01781 ::google::protobuf::uint32 key_block_size_;
01782 bool has_partial_segments_;
01783 bool auto_generated_key_;
01784
01785 mutable int _cached_size_;
01786 ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32];
01787
01788 friend void protobuf_AddDesc_table_2eproto();
01789 friend void protobuf_AssignDesc_table_2eproto();
01790 friend void protobuf_ShutdownFile_table_2eproto();
01791
01792 void InitAsDefaultInstance();
01793 static Table_Index_Options* default_instance_;
01794 };
01795
01796
01797 class Table_Index : public ::google::protobuf::Message {
01798 public:
01799 Table_Index();
01800 virtual ~Table_Index();
01801
01802 Table_Index(const Table_Index& from);
01803
01804 inline Table_Index& operator=(const Table_Index& from) {
01805 CopyFrom(from);
01806 return *this;
01807 }
01808
01809 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
01810 return _unknown_fields_;
01811 }
01812
01813 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
01814 return &_unknown_fields_;
01815 }
01816
01817 static const ::google::protobuf::Descriptor* descriptor();
01818 static const Table_Index& default_instance();
01819
01820 void Swap(Table_Index* other);
01821
01822
01823
01824 Table_Index* New() const;
01825 void CopyFrom(const ::google::protobuf::Message& from);
01826 void MergeFrom(const ::google::protobuf::Message& from);
01827 void CopyFrom(const Table_Index& from);
01828 void MergeFrom(const Table_Index& from);
01829 void Clear();
01830 bool IsInitialized() const;
01831
01832 int ByteSize() const;
01833 bool MergePartialFromCodedStream(
01834 ::google::protobuf::io::CodedInputStream* input);
01835 void SerializeWithCachedSizes(
01836 ::google::protobuf::io::CodedOutputStream* output) const;
01837 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
01838 int GetCachedSize() const { return _cached_size_; }
01839 private:
01840 void SharedCtor();
01841 void SharedDtor();
01842 void SetCachedSize(int size) const;
01843 public:
01844
01845 ::google::protobuf::Metadata GetMetadata() const;
01846
01847
01848
01849 typedef Table_Index_IndexPart IndexPart;
01850 typedef Table_Index_Options Options;
01851
01852 typedef Table_Index_IndexType IndexType;
01853 static const IndexType UNKNOWN_INDEX = Table_Index_IndexType_UNKNOWN_INDEX;
01854 static const IndexType BTREE = Table_Index_IndexType_BTREE;
01855 static const IndexType RTREE = Table_Index_IndexType_RTREE;
01856 static const IndexType HASH = Table_Index_IndexType_HASH;
01857 static const IndexType FULLTEXT = Table_Index_IndexType_FULLTEXT;
01858 static inline bool IndexType_IsValid(int value) {
01859 return Table_Index_IndexType_IsValid(value);
01860 }
01861 static const IndexType IndexType_MIN =
01862 Table_Index_IndexType_IndexType_MIN;
01863 static const IndexType IndexType_MAX =
01864 Table_Index_IndexType_IndexType_MAX;
01865 static const int IndexType_ARRAYSIZE =
01866 Table_Index_IndexType_IndexType_ARRAYSIZE;
01867 static inline const ::google::protobuf::EnumDescriptor*
01868 IndexType_descriptor() {
01869 return Table_Index_IndexType_descriptor();
01870 }
01871 static inline const ::std::string& IndexType_Name(IndexType value) {
01872 return Table_Index_IndexType_Name(value);
01873 }
01874 static inline bool IndexType_Parse(const ::std::string& name,
01875 IndexType* value) {
01876 return Table_Index_IndexType_Parse(name, value);
01877 }
01878
01879
01880
01881
01882 inline bool has_name() const;
01883 inline void clear_name();
01884 static const int kNameFieldNumber = 1;
01885 inline const ::std::string& name() const;
01886 inline void set_name(const ::std::string& value);
01887 inline void set_name(const char* value);
01888 inline void set_name(const char* value, size_t size);
01889 inline ::std::string* mutable_name();
01890 inline ::std::string* release_name();
01891
01892
01893 inline bool has_is_primary() const;
01894 inline void clear_is_primary();
01895 static const int kIsPrimaryFieldNumber = 2;
01896 inline bool is_primary() const;
01897 inline void set_is_primary(bool value);
01898
01899
01900 inline bool has_is_unique() const;
01901 inline void clear_is_unique();
01902 static const int kIsUniqueFieldNumber = 3;
01903 inline bool is_unique() const;
01904 inline void set_is_unique(bool value);
01905
01906
01907 inline bool has_type() const;
01908 inline void clear_type();
01909 static const int kTypeFieldNumber = 4;
01910 inline ::drizzled::message::Table_Index_IndexType type() const;
01911 inline void set_type(::drizzled::message::Table_Index_IndexType value);
01912
01913
01914 inline bool has_key_length() const;
01915 inline void clear_key_length();
01916 static const int kKeyLengthFieldNumber = 5;
01917 inline ::google::protobuf::uint32 key_length() const;
01918 inline void set_key_length(::google::protobuf::uint32 value);
01919
01920
01921 inline int index_part_size() const;
01922 inline void clear_index_part();
01923 static const int kIndexPartFieldNumber = 6;
01924 inline const ::drizzled::message::Table_Index_IndexPart& index_part(int index) const;
01925 inline ::drizzled::message::Table_Index_IndexPart* mutable_index_part(int index);
01926 inline ::drizzled::message::Table_Index_IndexPart* add_index_part();
01927 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index_IndexPart >&
01928 index_part() const;
01929 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index_IndexPart >*
01930 mutable_index_part();
01931
01932
01933 inline bool has_options() const;
01934 inline void clear_options();
01935 static const int kOptionsFieldNumber = 7;
01936 inline const ::drizzled::message::Table_Index_Options& options() const;
01937 inline ::drizzled::message::Table_Index_Options* mutable_options();
01938 inline ::drizzled::message::Table_Index_Options* release_options();
01939
01940
01941 inline bool has_comment() const;
01942 inline void clear_comment();
01943 static const int kCommentFieldNumber = 8;
01944 inline const ::std::string& comment() const;
01945 inline void set_comment(const ::std::string& value);
01946 inline void set_comment(const char* value);
01947 inline void set_comment(const char* value, size_t size);
01948 inline ::std::string* mutable_comment();
01949 inline ::std::string* release_comment();
01950
01951
01952 private:
01953 inline void set_has_name();
01954 inline void clear_has_name();
01955 inline void set_has_is_primary();
01956 inline void clear_has_is_primary();
01957 inline void set_has_is_unique();
01958 inline void clear_has_is_unique();
01959 inline void set_has_type();
01960 inline void clear_has_type();
01961 inline void set_has_key_length();
01962 inline void clear_has_key_length();
01963 inline void set_has_options();
01964 inline void clear_has_options();
01965 inline void set_has_comment();
01966 inline void clear_has_comment();
01967
01968 ::google::protobuf::UnknownFieldSet _unknown_fields_;
01969
01970 ::std::string* name_;
01971 bool is_primary_;
01972 bool is_unique_;
01973 int type_;
01974 ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index_IndexPart > index_part_;
01975 ::drizzled::message::Table_Index_Options* options_;
01976 ::std::string* comment_;
01977 ::google::protobuf::uint32 key_length_;
01978
01979 mutable int _cached_size_;
01980 ::google::protobuf::uint32 _has_bits_[(8 + 31) / 32];
01981
01982 friend void protobuf_AddDesc_table_2eproto();
01983 friend void protobuf_AssignDesc_table_2eproto();
01984 friend void protobuf_ShutdownFile_table_2eproto();
01985
01986 void InitAsDefaultInstance();
01987 static Table_Index* default_instance_;
01988 };
01989
01990
01991 class Table : public ::google::protobuf::Message {
01992 public:
01993 Table();
01994 virtual ~Table();
01995
01996 Table(const Table& from);
01997
01998 inline Table& operator=(const Table& from) {
01999 CopyFrom(from);
02000 return *this;
02001 }
02002
02003 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
02004 return _unknown_fields_;
02005 }
02006
02007 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
02008 return &_unknown_fields_;
02009 }
02010
02011 static const ::google::protobuf::Descriptor* descriptor();
02012 static const Table& default_instance();
02013
02014 void Swap(Table* other);
02015
02016
02017
02018 Table* New() const;
02019 void CopyFrom(const ::google::protobuf::Message& from);
02020 void MergeFrom(const ::google::protobuf::Message& from);
02021 void CopyFrom(const Table& from);
02022 void MergeFrom(const Table& from);
02023 void Clear();
02024 bool IsInitialized() const;
02025
02026 int ByteSize() const;
02027 bool MergePartialFromCodedStream(
02028 ::google::protobuf::io::CodedInputStream* input);
02029 void SerializeWithCachedSizes(
02030 ::google::protobuf::io::CodedOutputStream* output) const;
02031 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
02032 int GetCachedSize() const { return _cached_size_; }
02033 private:
02034 void SharedCtor();
02035 void SharedDtor();
02036 void SetCachedSize(int size) const;
02037 public:
02038
02039 ::google::protobuf::Metadata GetMetadata() const;
02040
02041
02042
02043 typedef Table_TableOptions TableOptions;
02044 typedef Table_ForeignKeyConstraint ForeignKeyConstraint;
02045 typedef Table_Field Field;
02046 typedef Table_Index Index;
02047
02048 typedef Table_TableType TableType;
02049 static const TableType STANDARD = Table_TableType_STANDARD;
02050 static const TableType TEMPORARY = Table_TableType_TEMPORARY;
02051 static const TableType INTERNAL = Table_TableType_INTERNAL;
02052 static const TableType FUNCTION = Table_TableType_FUNCTION;
02053 static inline bool TableType_IsValid(int value) {
02054 return Table_TableType_IsValid(value);
02055 }
02056 static const TableType TableType_MIN =
02057 Table_TableType_TableType_MIN;
02058 static const TableType TableType_MAX =
02059 Table_TableType_TableType_MAX;
02060 static const int TableType_ARRAYSIZE =
02061 Table_TableType_TableType_ARRAYSIZE;
02062 static inline const ::google::protobuf::EnumDescriptor*
02063 TableType_descriptor() {
02064 return Table_TableType_descriptor();
02065 }
02066 static inline const ::std::string& TableType_Name(TableType value) {
02067 return Table_TableType_Name(value);
02068 }
02069 static inline bool TableType_Parse(const ::std::string& name,
02070 TableType* value) {
02071 return Table_TableType_Parse(name, value);
02072 }
02073
02074
02075
02076
02077 inline bool has_name() const;
02078 inline void clear_name();
02079 static const int kNameFieldNumber = 1;
02080 inline const ::std::string& name() const;
02081 inline void set_name(const ::std::string& value);
02082 inline void set_name(const char* value);
02083 inline void set_name(const char* value, size_t size);
02084 inline ::std::string* mutable_name();
02085 inline ::std::string* release_name();
02086
02087
02088 inline bool has_schema() const;
02089 inline void clear_schema();
02090 static const int kSchemaFieldNumber = 6;
02091 inline const ::std::string& schema() const;
02092 inline void set_schema(const ::std::string& value);
02093 inline void set_schema(const char* value);
02094 inline void set_schema(const char* value, size_t size);
02095 inline ::std::string* mutable_schema();
02096 inline ::std::string* release_schema();
02097
02098
02099 inline bool has_type() const;
02100 inline void clear_type();
02101 static const int kTypeFieldNumber = 5;
02102 inline ::drizzled::message::Table_TableType type() const;
02103 inline void set_type(::drizzled::message::Table_TableType value);
02104
02105
02106 inline bool has_engine() const;
02107 inline void clear_engine();
02108 static const int kEngineFieldNumber = 2;
02109 inline const ::drizzled::message::Engine& engine() const;
02110 inline ::drizzled::message::Engine* mutable_engine();
02111 inline ::drizzled::message::Engine* release_engine();
02112
02113
02114 inline int field_size() const;
02115 inline void clear_field();
02116 static const int kFieldFieldNumber = 3;
02117 inline const ::drizzled::message::Table_Field& field(int index) const;
02118 inline ::drizzled::message::Table_Field* mutable_field(int index);
02119 inline ::drizzled::message::Table_Field* add_field();
02120 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >&
02121 field() const;
02122 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >*
02123 mutable_field();
02124
02125
02126 inline int indexes_size() const;
02127 inline void clear_indexes();
02128 static const int kIndexesFieldNumber = 4;
02129 inline const ::drizzled::message::Table_Index& indexes(int index) const;
02130 inline ::drizzled::message::Table_Index* mutable_indexes(int index);
02131 inline ::drizzled::message::Table_Index* add_indexes();
02132 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index >&
02133 indexes() const;
02134 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index >*
02135 mutable_indexes();
02136
02137
02138 inline int fk_constraint_size() const;
02139 inline void clear_fk_constraint();
02140 static const int kFkConstraintFieldNumber = 8;
02141 inline const ::drizzled::message::Table_ForeignKeyConstraint& fk_constraint(int index) const;
02142 inline ::drizzled::message::Table_ForeignKeyConstraint* mutable_fk_constraint(int index);
02143 inline ::drizzled::message::Table_ForeignKeyConstraint* add_fk_constraint();
02144 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_ForeignKeyConstraint >&
02145 fk_constraint() const;
02146 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_ForeignKeyConstraint >*
02147 mutable_fk_constraint();
02148
02149
02150 inline bool has_options() const;
02151 inline void clear_options();
02152 static const int kOptionsFieldNumber = 9;
02153 inline const ::drizzled::message::Table_TableOptions& options() const;
02154 inline ::drizzled::message::Table_TableOptions* mutable_options();
02155 inline ::drizzled::message::Table_TableOptions* release_options();
02156
02157
02158 inline bool has_creation_timestamp() const;
02159 inline void clear_creation_timestamp();
02160 static const int kCreationTimestampFieldNumber = 11;
02161 inline ::google::protobuf::uint64 creation_timestamp() const;
02162 inline void set_creation_timestamp(::google::protobuf::uint64 value);
02163
02164
02165 inline bool has_update_timestamp() const;
02166 inline void clear_update_timestamp();
02167 static const int kUpdateTimestampFieldNumber = 12;
02168 inline ::google::protobuf::uint64 update_timestamp() const;
02169 inline void set_update_timestamp(::google::protobuf::uint64 value);
02170
02171
02172 inline bool has_catalog() const;
02173 inline void clear_catalog();
02174 static const int kCatalogFieldNumber = 13;
02175 inline const ::std::string& catalog() const;
02176 inline void set_catalog(const ::std::string& value);
02177 inline void set_catalog(const char* value);
02178 inline void set_catalog(const char* value, size_t size);
02179 inline ::std::string* mutable_catalog();
02180 inline ::std::string* release_catalog();
02181
02182
02183 inline bool has_uuid() const;
02184 inline void clear_uuid();
02185 static const int kUuidFieldNumber = 14;
02186 inline const ::std::string& uuid() const;
02187 inline void set_uuid(const ::std::string& value);
02188 inline void set_uuid(const char* value);
02189 inline void set_uuid(const char* value, size_t size);
02190 inline ::std::string* mutable_uuid();
02191 inline ::std::string* release_uuid();
02192
02193
02194 inline bool has_version() const;
02195 inline void clear_version();
02196 static const int kVersionFieldNumber = 15;
02197 inline ::google::protobuf::uint64 version() const;
02198 inline void set_version(::google::protobuf::uint64 value);
02199
02200
02201 inline bool has_replication_options() const;
02202 inline void clear_replication_options();
02203 static const int kReplicationOptionsFieldNumber = 16;
02204 inline const ::drizzled::message::ReplicationOptions& replication_options() const;
02205 inline ::drizzled::message::ReplicationOptions* mutable_replication_options();
02206 inline ::drizzled::message::ReplicationOptions* release_replication_options();
02207
02208
02209 inline bool has_access() const;
02210 inline void clear_access();
02211 static const int kAccessFieldNumber = 17;
02212 inline const ::drizzled::message::Access& access() const;
02213 inline ::drizzled::message::Access* mutable_access();
02214 inline ::drizzled::message::Access* release_access();
02215
02216
02217 private:
02218 inline void set_has_name();
02219 inline void clear_has_name();
02220 inline void set_has_schema();
02221 inline void clear_has_schema();
02222 inline void set_has_type();
02223 inline void clear_has_type();
02224 inline void set_has_engine();
02225 inline void clear_has_engine();
02226 inline void set_has_options();
02227 inline void clear_has_options();
02228 inline void set_has_creation_timestamp();
02229 inline void clear_has_creation_timestamp();
02230 inline void set_has_update_timestamp();
02231 inline void clear_has_update_timestamp();
02232 inline void set_has_catalog();
02233 inline void clear_has_catalog();
02234 inline void set_has_uuid();
02235 inline void clear_has_uuid();
02236 inline void set_has_version();
02237 inline void clear_has_version();
02238 inline void set_has_replication_options();
02239 inline void clear_has_replication_options();
02240 inline void set_has_access();
02241 inline void clear_has_access();
02242
02243 ::google::protobuf::UnknownFieldSet _unknown_fields_;
02244
02245 ::std::string* name_;
02246 ::std::string* schema_;
02247 ::drizzled::message::Engine* engine_;
02248 ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field > field_;
02249 ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index > indexes_;
02250 ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_ForeignKeyConstraint > fk_constraint_;
02251 ::drizzled::message::Table_TableOptions* options_;
02252 ::google::protobuf::uint64 creation_timestamp_;
02253 ::google::protobuf::uint64 update_timestamp_;
02254 ::std::string* catalog_;
02255 ::std::string* uuid_;
02256 ::google::protobuf::uint64 version_;
02257 ::drizzled::message::ReplicationOptions* replication_options_;
02258 ::drizzled::message::Access* access_;
02259 int type_;
02260
02261 mutable int _cached_size_;
02262 ::google::protobuf::uint32 _has_bits_[(15 + 31) / 32];
02263
02264 friend void protobuf_AddDesc_table_2eproto();
02265 friend void protobuf_AssignDesc_table_2eproto();
02266 friend void protobuf_ShutdownFile_table_2eproto();
02267
02268 void InitAsDefaultInstance();
02269 static Table* default_instance_;
02270 };
02271
02272
02273 class AddedFields : public ::google::protobuf::Message {
02274 public:
02275 AddedFields();
02276 virtual ~AddedFields();
02277
02278 AddedFields(const AddedFields& from);
02279
02280 inline AddedFields& operator=(const AddedFields& from) {
02281 CopyFrom(from);
02282 return *this;
02283 }
02284
02285 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
02286 return _unknown_fields_;
02287 }
02288
02289 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
02290 return &_unknown_fields_;
02291 }
02292
02293 static const ::google::protobuf::Descriptor* descriptor();
02294 static const AddedFields& default_instance();
02295
02296 void Swap(AddedFields* other);
02297
02298
02299
02300 AddedFields* New() const;
02301 void CopyFrom(const ::google::protobuf::Message& from);
02302 void MergeFrom(const ::google::protobuf::Message& from);
02303 void CopyFrom(const AddedFields& from);
02304 void MergeFrom(const AddedFields& from);
02305 void Clear();
02306 bool IsInitialized() const;
02307
02308 int ByteSize() const;
02309 bool MergePartialFromCodedStream(
02310 ::google::protobuf::io::CodedInputStream* input);
02311 void SerializeWithCachedSizes(
02312 ::google::protobuf::io::CodedOutputStream* output) const;
02313 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
02314 int GetCachedSize() const { return _cached_size_; }
02315 private:
02316 void SharedCtor();
02317 void SharedDtor();
02318 void SetCachedSize(int size) const;
02319 public:
02320
02321 ::google::protobuf::Metadata GetMetadata() const;
02322
02323
02324
02325
02326
02327
02328 inline int added_field_size() const;
02329 inline void clear_added_field();
02330 static const int kAddedFieldFieldNumber = 1;
02331 inline const ::drizzled::message::Table_Field& added_field(int index) const;
02332 inline ::drizzled::message::Table_Field* mutable_added_field(int index);
02333 inline ::drizzled::message::Table_Field* add_added_field();
02334 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >&
02335 added_field() const;
02336 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >*
02337 mutable_added_field();
02338
02339
02340 private:
02341
02342 ::google::protobuf::UnknownFieldSet _unknown_fields_;
02343
02344 ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field > added_field_;
02345
02346 mutable int _cached_size_;
02347 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
02348
02349 friend void protobuf_AddDesc_table_2eproto();
02350 friend void protobuf_AssignDesc_table_2eproto();
02351 friend void protobuf_ShutdownFile_table_2eproto();
02352
02353 void InitAsDefaultInstance();
02354 static AddedFields* default_instance_;
02355 };
02356
02357
02358
02359
02360
02361
02362
02363
02364 inline bool Table_TableOptions::has_has_user_set_auto_increment_value() const {
02365 return (_has_bits_[0] & 0x00000001u) != 0;
02366 }
02367 inline void Table_TableOptions::set_has_has_user_set_auto_increment_value() {
02368 _has_bits_[0] |= 0x00000001u;
02369 }
02370 inline void Table_TableOptions::clear_has_has_user_set_auto_increment_value() {
02371 _has_bits_[0] &= ~0x00000001u;
02372 }
02373 inline void Table_TableOptions::clear_has_user_set_auto_increment_value() {
02374 has_user_set_auto_increment_value_ = false;
02375 clear_has_has_user_set_auto_increment_value();
02376 }
02377 inline bool Table_TableOptions::has_user_set_auto_increment_value() const {
02378 return has_user_set_auto_increment_value_;
02379 }
02380 inline void Table_TableOptions::set_has_user_set_auto_increment_value(bool value) {
02381 set_has_has_user_set_auto_increment_value();
02382 has_user_set_auto_increment_value_ = value;
02383 }
02384
02385
02386 inline bool Table_TableOptions::has_collation() const {
02387 return (_has_bits_[0] & 0x00000002u) != 0;
02388 }
02389 inline void Table_TableOptions::set_has_collation() {
02390 _has_bits_[0] |= 0x00000002u;
02391 }
02392 inline void Table_TableOptions::clear_has_collation() {
02393 _has_bits_[0] &= ~0x00000002u;
02394 }
02395 inline void Table_TableOptions::clear_collation() {
02396 if (collation_ != &::google::protobuf::internal::kEmptyString) {
02397 collation_->clear();
02398 }
02399 clear_has_collation();
02400 }
02401 inline const ::std::string& Table_TableOptions::collation() const {
02402 return *collation_;
02403 }
02404 inline void Table_TableOptions::set_collation(const ::std::string& value) {
02405 set_has_collation();
02406 if (collation_ == &::google::protobuf::internal::kEmptyString) {
02407 collation_ = new ::std::string;
02408 }
02409 collation_->assign(value);
02410 }
02411 inline void Table_TableOptions::set_collation(const char* value) {
02412 set_has_collation();
02413 if (collation_ == &::google::protobuf::internal::kEmptyString) {
02414 collation_ = new ::std::string;
02415 }
02416 collation_->assign(value);
02417 }
02418 inline void Table_TableOptions::set_collation(const char* value, size_t size) {
02419 set_has_collation();
02420 if (collation_ == &::google::protobuf::internal::kEmptyString) {
02421 collation_ = new ::std::string;
02422 }
02423 collation_->assign(reinterpret_cast<const char*>(value), size);
02424 }
02425 inline ::std::string* Table_TableOptions::mutable_collation() {
02426 set_has_collation();
02427 if (collation_ == &::google::protobuf::internal::kEmptyString) {
02428 collation_ = new ::std::string;
02429 }
02430 return collation_;
02431 }
02432 inline ::std::string* Table_TableOptions::release_collation() {
02433 clear_has_collation();
02434 if (collation_ == &::google::protobuf::internal::kEmptyString) {
02435 return NULL;
02436 } else {
02437 ::std::string* temp = collation_;
02438 collation_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
02439 return temp;
02440 }
02441 }
02442
02443
02444 inline bool Table_TableOptions::has_collation_id() const {
02445 return (_has_bits_[0] & 0x00000004u) != 0;
02446 }
02447 inline void Table_TableOptions::set_has_collation_id() {
02448 _has_bits_[0] |= 0x00000004u;
02449 }
02450 inline void Table_TableOptions::clear_has_collation_id() {
02451 _has_bits_[0] &= ~0x00000004u;
02452 }
02453 inline void Table_TableOptions::clear_collation_id() {
02454 collation_id_ = 0u;
02455 clear_has_collation_id();
02456 }
02457 inline ::google::protobuf::uint32 Table_TableOptions::collation_id() const {
02458 return collation_id_;
02459 }
02460 inline void Table_TableOptions::set_collation_id(::google::protobuf::uint32 value) {
02461 set_has_collation_id();
02462 collation_id_ = value;
02463 }
02464
02465
02466 inline bool Table_TableOptions::has_data_file_name() const {
02467 return (_has_bits_[0] & 0x00000008u) != 0;
02468 }
02469 inline void Table_TableOptions::set_has_data_file_name() {
02470 _has_bits_[0] |= 0x00000008u;
02471 }
02472 inline void Table_TableOptions::clear_has_data_file_name() {
02473 _has_bits_[0] &= ~0x00000008u;
02474 }
02475 inline void Table_TableOptions::clear_data_file_name() {
02476 if (data_file_name_ != &::google::protobuf::internal::kEmptyString) {
02477 data_file_name_->clear();
02478 }
02479 clear_has_data_file_name();
02480 }
02481 inline const ::std::string& Table_TableOptions::data_file_name() const {
02482 return *data_file_name_;
02483 }
02484 inline void Table_TableOptions::set_data_file_name(const ::std::string& value) {
02485 set_has_data_file_name();
02486 if (data_file_name_ == &::google::protobuf::internal::kEmptyString) {
02487 data_file_name_ = new ::std::string;
02488 }
02489 data_file_name_->assign(value);
02490 }
02491 inline void Table_TableOptions::set_data_file_name(const char* value) {
02492 set_has_data_file_name();
02493 if (data_file_name_ == &::google::protobuf::internal::kEmptyString) {
02494 data_file_name_ = new ::std::string;
02495 }
02496 data_file_name_->assign(value);
02497 }
02498 inline void Table_TableOptions::set_data_file_name(const char* value, size_t size) {
02499 set_has_data_file_name();
02500 if (data_file_name_ == &::google::protobuf::internal::kEmptyString) {
02501 data_file_name_ = new ::std::string;
02502 }
02503 data_file_name_->assign(reinterpret_cast<const char*>(value), size);
02504 }
02505 inline ::std::string* Table_TableOptions::mutable_data_file_name() {
02506 set_has_data_file_name();
02507 if (data_file_name_ == &::google::protobuf::internal::kEmptyString) {
02508 data_file_name_ = new ::std::string;
02509 }
02510 return data_file_name_;
02511 }
02512 inline ::std::string* Table_TableOptions::release_data_file_name() {
02513 clear_has_data_file_name();
02514 if (data_file_name_ == &::google::protobuf::internal::kEmptyString) {
02515 return NULL;
02516 } else {
02517 ::std::string* temp = data_file_name_;
02518 data_file_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
02519 return temp;
02520 }
02521 }
02522
02523
02524 inline bool Table_TableOptions::has_index_file_name() const {
02525 return (_has_bits_[0] & 0x00000010u) != 0;
02526 }
02527 inline void Table_TableOptions::set_has_index_file_name() {
02528 _has_bits_[0] |= 0x00000010u;
02529 }
02530 inline void Table_TableOptions::clear_has_index_file_name() {
02531 _has_bits_[0] &= ~0x00000010u;
02532 }
02533 inline void Table_TableOptions::clear_index_file_name() {
02534 if (index_file_name_ != &::google::protobuf::internal::kEmptyString) {
02535 index_file_name_->clear();
02536 }
02537 clear_has_index_file_name();
02538 }
02539 inline const ::std::string& Table_TableOptions::index_file_name() const {
02540 return *index_file_name_;
02541 }
02542 inline void Table_TableOptions::set_index_file_name(const ::std::string& value) {
02543 set_has_index_file_name();
02544 if (index_file_name_ == &::google::protobuf::internal::kEmptyString) {
02545 index_file_name_ = new ::std::string;
02546 }
02547 index_file_name_->assign(value);
02548 }
02549 inline void Table_TableOptions::set_index_file_name(const char* value) {
02550 set_has_index_file_name();
02551 if (index_file_name_ == &::google::protobuf::internal::kEmptyString) {
02552 index_file_name_ = new ::std::string;
02553 }
02554 index_file_name_->assign(value);
02555 }
02556 inline void Table_TableOptions::set_index_file_name(const char* value, size_t size) {
02557 set_has_index_file_name();
02558 if (index_file_name_ == &::google::protobuf::internal::kEmptyString) {
02559 index_file_name_ = new ::std::string;
02560 }
02561 index_file_name_->assign(reinterpret_cast<const char*>(value), size);
02562 }
02563 inline ::std::string* Table_TableOptions::mutable_index_file_name() {
02564 set_has_index_file_name();
02565 if (index_file_name_ == &::google::protobuf::internal::kEmptyString) {
02566 index_file_name_ = new ::std::string;
02567 }
02568 return index_file_name_;
02569 }
02570 inline ::std::string* Table_TableOptions::release_index_file_name() {
02571 clear_has_index_file_name();
02572 if (index_file_name_ == &::google::protobuf::internal::kEmptyString) {
02573 return NULL;
02574 } else {
02575 ::std::string* temp = index_file_name_;
02576 index_file_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
02577 return temp;
02578 }
02579 }
02580
02581
02582 inline bool Table_TableOptions::has_max_rows() const {
02583 return (_has_bits_[0] & 0x00000020u) != 0;
02584 }
02585 inline void Table_TableOptions::set_has_max_rows() {
02586 _has_bits_[0] |= 0x00000020u;
02587 }
02588 inline void Table_TableOptions::clear_has_max_rows() {
02589 _has_bits_[0] &= ~0x00000020u;
02590 }
02591 inline void Table_TableOptions::clear_max_rows() {
02592 max_rows_ = GOOGLE_ULONGLONG(0);
02593 clear_has_max_rows();
02594 }
02595 inline ::google::protobuf::uint64 Table_TableOptions::max_rows() const {
02596 return max_rows_;
02597 }
02598 inline void Table_TableOptions::set_max_rows(::google::protobuf::uint64 value) {
02599 set_has_max_rows();
02600 max_rows_ = value;
02601 }
02602
02603
02604 inline bool Table_TableOptions::has_min_rows() const {
02605 return (_has_bits_[0] & 0x00000040u) != 0;
02606 }
02607 inline void Table_TableOptions::set_has_min_rows() {
02608 _has_bits_[0] |= 0x00000040u;
02609 }
02610 inline void Table_TableOptions::clear_has_min_rows() {
02611 _has_bits_[0] &= ~0x00000040u;
02612 }
02613 inline void Table_TableOptions::clear_min_rows() {
02614 min_rows_ = GOOGLE_ULONGLONG(0);
02615 clear_has_min_rows();
02616 }
02617 inline ::google::protobuf::uint64 Table_TableOptions::min_rows() const {
02618 return min_rows_;
02619 }
02620 inline void Table_TableOptions::set_min_rows(::google::protobuf::uint64 value) {
02621 set_has_min_rows();
02622 min_rows_ = value;
02623 }
02624
02625
02626 inline bool Table_TableOptions::has_auto_increment_value() const {
02627 return (_has_bits_[0] & 0x00000080u) != 0;
02628 }
02629 inline void Table_TableOptions::set_has_auto_increment_value() {
02630 _has_bits_[0] |= 0x00000080u;
02631 }
02632 inline void Table_TableOptions::clear_has_auto_increment_value() {
02633 _has_bits_[0] &= ~0x00000080u;
02634 }
02635 inline void Table_TableOptions::clear_auto_increment_value() {
02636 auto_increment_value_ = GOOGLE_ULONGLONG(0);
02637 clear_has_auto_increment_value();
02638 }
02639 inline ::google::protobuf::uint64 Table_TableOptions::auto_increment_value() const {
02640 return auto_increment_value_;
02641 }
02642 inline void Table_TableOptions::set_auto_increment_value(::google::protobuf::uint64 value) {
02643 set_has_auto_increment_value();
02644 auto_increment_value_ = value;
02645 }
02646
02647
02648 inline bool Table_TableOptions::has_avg_row_length() const {
02649 return (_has_bits_[0] & 0x00000100u) != 0;
02650 }
02651 inline void Table_TableOptions::set_has_avg_row_length() {
02652 _has_bits_[0] |= 0x00000100u;
02653 }
02654 inline void Table_TableOptions::clear_has_avg_row_length() {
02655 _has_bits_[0] &= ~0x00000100u;
02656 }
02657 inline void Table_TableOptions::clear_avg_row_length() {
02658 avg_row_length_ = 0u;
02659 clear_has_avg_row_length();
02660 }
02661 inline ::google::protobuf::uint32 Table_TableOptions::avg_row_length() const {
02662 return avg_row_length_;
02663 }
02664 inline void Table_TableOptions::set_avg_row_length(::google::protobuf::uint32 value) {
02665 set_has_avg_row_length();
02666 avg_row_length_ = value;
02667 }
02668
02669
02670 inline bool Table_TableOptions::has_block_size() const {
02671 return (_has_bits_[0] & 0x00000200u) != 0;
02672 }
02673 inline void Table_TableOptions::set_has_block_size() {
02674 _has_bits_[0] |= 0x00000200u;
02675 }
02676 inline void Table_TableOptions::clear_has_block_size() {
02677 _has_bits_[0] &= ~0x00000200u;
02678 }
02679 inline void Table_TableOptions::clear_block_size() {
02680 block_size_ = 0u;
02681 clear_has_block_size();
02682 }
02683 inline ::google::protobuf::uint32 Table_TableOptions::block_size() const {
02684 return block_size_;
02685 }
02686 inline void Table_TableOptions::set_block_size(::google::protobuf::uint32 value) {
02687 set_has_block_size();
02688 block_size_ = value;
02689 }
02690
02691
02692 inline bool Table_TableOptions::has_comment() const {
02693 return (_has_bits_[0] & 0x00000400u) != 0;
02694 }
02695 inline void Table_TableOptions::set_has_comment() {
02696 _has_bits_[0] |= 0x00000400u;
02697 }
02698 inline void Table_TableOptions::clear_has_comment() {
02699 _has_bits_[0] &= ~0x00000400u;
02700 }
02701 inline void Table_TableOptions::clear_comment() {
02702 if (comment_ != &::google::protobuf::internal::kEmptyString) {
02703 comment_->clear();
02704 }
02705 clear_has_comment();
02706 }
02707 inline const ::std::string& Table_TableOptions::comment() const {
02708 return *comment_;
02709 }
02710 inline void Table_TableOptions::set_comment(const ::std::string& value) {
02711 set_has_comment();
02712 if (comment_ == &::google::protobuf::internal::kEmptyString) {
02713 comment_ = new ::std::string;
02714 }
02715 comment_->assign(value);
02716 }
02717 inline void Table_TableOptions::set_comment(const char* value) {
02718 set_has_comment();
02719 if (comment_ == &::google::protobuf::internal::kEmptyString) {
02720 comment_ = new ::std::string;
02721 }
02722 comment_->assign(value);
02723 }
02724 inline void Table_TableOptions::set_comment(const char* value, size_t size) {
02725 set_has_comment();
02726 if (comment_ == &::google::protobuf::internal::kEmptyString) {
02727 comment_ = new ::std::string;
02728 }
02729 comment_->assign(reinterpret_cast<const char*>(value), size);
02730 }
02731 inline ::std::string* Table_TableOptions::mutable_comment() {
02732 set_has_comment();
02733 if (comment_ == &::google::protobuf::internal::kEmptyString) {
02734 comment_ = new ::std::string;
02735 }
02736 return comment_;
02737 }
02738 inline ::std::string* Table_TableOptions::release_comment() {
02739 clear_has_comment();
02740 if (comment_ == &::google::protobuf::internal::kEmptyString) {
02741 return NULL;
02742 } else {
02743 ::std::string* temp = comment_;
02744 comment_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
02745 return temp;
02746 }
02747 }
02748
02749
02750 inline bool Table_TableOptions::has_pack_record() const {
02751 return (_has_bits_[0] & 0x00000800u) != 0;
02752 }
02753 inline void Table_TableOptions::set_has_pack_record() {
02754 _has_bits_[0] |= 0x00000800u;
02755 }
02756 inline void Table_TableOptions::clear_has_pack_record() {
02757 _has_bits_[0] &= ~0x00000800u;
02758 }
02759 inline void Table_TableOptions::clear_pack_record() {
02760 pack_record_ = false;
02761 clear_has_pack_record();
02762 }
02763 inline bool Table_TableOptions::pack_record() const {
02764 return pack_record_;
02765 }
02766 inline void Table_TableOptions::set_pack_record(bool value) {
02767 set_has_pack_record();
02768 pack_record_ = value;
02769 }
02770
02771
02772 inline bool Table_TableOptions::has_checksum() const {
02773 return (_has_bits_[0] & 0x00001000u) != 0;
02774 }
02775 inline void Table_TableOptions::set_has_checksum() {
02776 _has_bits_[0] |= 0x00001000u;
02777 }
02778 inline void Table_TableOptions::clear_has_checksum() {
02779 _has_bits_[0] &= ~0x00001000u;
02780 }
02781 inline void Table_TableOptions::clear_checksum() {
02782 checksum_ = false;
02783 clear_has_checksum();
02784 }
02785 inline bool Table_TableOptions::checksum() const {
02786 return checksum_;
02787 }
02788 inline void Table_TableOptions::set_checksum(bool value) {
02789 set_has_checksum();
02790 checksum_ = value;
02791 }
02792
02793
02794 inline bool Table_TableOptions::has_page_checksum() const {
02795 return (_has_bits_[0] & 0x00002000u) != 0;
02796 }
02797 inline void Table_TableOptions::set_has_page_checksum() {
02798 _has_bits_[0] |= 0x00002000u;
02799 }
02800 inline void Table_TableOptions::clear_has_page_checksum() {
02801 _has_bits_[0] &= ~0x00002000u;
02802 }
02803 inline void Table_TableOptions::clear_page_checksum() {
02804 page_checksum_ = false;
02805 clear_has_page_checksum();
02806 }
02807 inline bool Table_TableOptions::page_checksum() const {
02808 return page_checksum_;
02809 }
02810 inline void Table_TableOptions::set_page_checksum(bool value) {
02811 set_has_page_checksum();
02812 page_checksum_ = value;
02813 }
02814
02815
02816 inline bool Table_TableOptions::has_delay_key_write() const {
02817 return (_has_bits_[0] & 0x00004000u) != 0;
02818 }
02819 inline void Table_TableOptions::set_has_delay_key_write() {
02820 _has_bits_[0] |= 0x00004000u;
02821 }
02822 inline void Table_TableOptions::clear_has_delay_key_write() {
02823 _has_bits_[0] &= ~0x00004000u;
02824 }
02825 inline void Table_TableOptions::clear_delay_key_write() {
02826 delay_key_write_ = false;
02827 clear_has_delay_key_write();
02828 }
02829 inline bool Table_TableOptions::delay_key_write() const {
02830 return delay_key_write_;
02831 }
02832 inline void Table_TableOptions::set_delay_key_write(bool value) {
02833 set_has_delay_key_write();
02834 delay_key_write_ = value;
02835 }
02836
02837
02838 inline bool Table_TableOptions::has_unused() const {
02839 return (_has_bits_[0] & 0x00008000u) != 0;
02840 }
02841 inline void Table_TableOptions::set_has_unused() {
02842 _has_bits_[0] |= 0x00008000u;
02843 }
02844 inline void Table_TableOptions::clear_has_unused() {
02845 _has_bits_[0] &= ~0x00008000u;
02846 }
02847 inline void Table_TableOptions::clear_unused() {
02848 unused_ = false;
02849 clear_has_unused();
02850 }
02851 inline bool Table_TableOptions::unused() const {
02852 return unused_;
02853 }
02854 inline void Table_TableOptions::set_unused(bool value) {
02855 set_has_unused();
02856 unused_ = value;
02857 }
02858
02859
02860
02861
02862
02863
02864 inline bool Table_ForeignKeyConstraint::has_name() const {
02865 return (_has_bits_[0] & 0x00000001u) != 0;
02866 }
02867 inline void Table_ForeignKeyConstraint::set_has_name() {
02868 _has_bits_[0] |= 0x00000001u;
02869 }
02870 inline void Table_ForeignKeyConstraint::clear_has_name() {
02871 _has_bits_[0] &= ~0x00000001u;
02872 }
02873 inline void Table_ForeignKeyConstraint::clear_name() {
02874 if (name_ != &::google::protobuf::internal::kEmptyString) {
02875 name_->clear();
02876 }
02877 clear_has_name();
02878 }
02879 inline const ::std::string& Table_ForeignKeyConstraint::name() const {
02880 return *name_;
02881 }
02882 inline void Table_ForeignKeyConstraint::set_name(const ::std::string& value) {
02883 set_has_name();
02884 if (name_ == &::google::protobuf::internal::kEmptyString) {
02885 name_ = new ::std::string;
02886 }
02887 name_->assign(value);
02888 }
02889 inline void Table_ForeignKeyConstraint::set_name(const char* value) {
02890 set_has_name();
02891 if (name_ == &::google::protobuf::internal::kEmptyString) {
02892 name_ = new ::std::string;
02893 }
02894 name_->assign(value);
02895 }
02896 inline void Table_ForeignKeyConstraint::set_name(const char* value, size_t size) {
02897 set_has_name();
02898 if (name_ == &::google::protobuf::internal::kEmptyString) {
02899 name_ = new ::std::string;
02900 }
02901 name_->assign(reinterpret_cast<const char*>(value), size);
02902 }
02903 inline ::std::string* Table_ForeignKeyConstraint::mutable_name() {
02904 set_has_name();
02905 if (name_ == &::google::protobuf::internal::kEmptyString) {
02906 name_ = new ::std::string;
02907 }
02908 return name_;
02909 }
02910 inline ::std::string* Table_ForeignKeyConstraint::release_name() {
02911 clear_has_name();
02912 if (name_ == &::google::protobuf::internal::kEmptyString) {
02913 return NULL;
02914 } else {
02915 ::std::string* temp = name_;
02916 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
02917 return temp;
02918 }
02919 }
02920
02921
02922 inline int Table_ForeignKeyConstraint::column_names_size() const {
02923 return column_names_.size();
02924 }
02925 inline void Table_ForeignKeyConstraint::clear_column_names() {
02926 column_names_.Clear();
02927 }
02928 inline const ::std::string& Table_ForeignKeyConstraint::column_names(int index) const {
02929 return column_names_.Get(index);
02930 }
02931 inline ::std::string* Table_ForeignKeyConstraint::mutable_column_names(int index) {
02932 return column_names_.Mutable(index);
02933 }
02934 inline void Table_ForeignKeyConstraint::set_column_names(int index, const ::std::string& value) {
02935 column_names_.Mutable(index)->assign(value);
02936 }
02937 inline void Table_ForeignKeyConstraint::set_column_names(int index, const char* value) {
02938 column_names_.Mutable(index)->assign(value);
02939 }
02940 inline void Table_ForeignKeyConstraint::set_column_names(int index, const char* value, size_t size) {
02941 column_names_.Mutable(index)->assign(
02942 reinterpret_cast<const char*>(value), size);
02943 }
02944 inline ::std::string* Table_ForeignKeyConstraint::add_column_names() {
02945 return column_names_.Add();
02946 }
02947 inline void Table_ForeignKeyConstraint::add_column_names(const ::std::string& value) {
02948 column_names_.Add()->assign(value);
02949 }
02950 inline void Table_ForeignKeyConstraint::add_column_names(const char* value) {
02951 column_names_.Add()->assign(value);
02952 }
02953 inline void Table_ForeignKeyConstraint::add_column_names(const char* value, size_t size) {
02954 column_names_.Add()->assign(reinterpret_cast<const char*>(value), size);
02955 }
02956 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
02957 Table_ForeignKeyConstraint::column_names() const {
02958 return column_names_;
02959 }
02960 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
02961 Table_ForeignKeyConstraint::mutable_column_names() {
02962 return &column_names_;
02963 }
02964
02965
02966 inline bool Table_ForeignKeyConstraint::has_references_table_name() const {
02967 return (_has_bits_[0] & 0x00000004u) != 0;
02968 }
02969 inline void Table_ForeignKeyConstraint::set_has_references_table_name() {
02970 _has_bits_[0] |= 0x00000004u;
02971 }
02972 inline void Table_ForeignKeyConstraint::clear_has_references_table_name() {
02973 _has_bits_[0] &= ~0x00000004u;
02974 }
02975 inline void Table_ForeignKeyConstraint::clear_references_table_name() {
02976 if (references_table_name_ != &::google::protobuf::internal::kEmptyString) {
02977 references_table_name_->clear();
02978 }
02979 clear_has_references_table_name();
02980 }
02981 inline const ::std::string& Table_ForeignKeyConstraint::references_table_name() const {
02982 return *references_table_name_;
02983 }
02984 inline void Table_ForeignKeyConstraint::set_references_table_name(const ::std::string& value) {
02985 set_has_references_table_name();
02986 if (references_table_name_ == &::google::protobuf::internal::kEmptyString) {
02987 references_table_name_ = new ::std::string;
02988 }
02989 references_table_name_->assign(value);
02990 }
02991 inline void Table_ForeignKeyConstraint::set_references_table_name(const char* value) {
02992 set_has_references_table_name();
02993 if (references_table_name_ == &::google::protobuf::internal::kEmptyString) {
02994 references_table_name_ = new ::std::string;
02995 }
02996 references_table_name_->assign(value);
02997 }
02998 inline void Table_ForeignKeyConstraint::set_references_table_name(const char* value, size_t size) {
02999 set_has_references_table_name();
03000 if (references_table_name_ == &::google::protobuf::internal::kEmptyString) {
03001 references_table_name_ = new ::std::string;
03002 }
03003 references_table_name_->assign(reinterpret_cast<const char*>(value), size);
03004 }
03005 inline ::std::string* Table_ForeignKeyConstraint::mutable_references_table_name() {
03006 set_has_references_table_name();
03007 if (references_table_name_ == &::google::protobuf::internal::kEmptyString) {
03008 references_table_name_ = new ::std::string;
03009 }
03010 return references_table_name_;
03011 }
03012 inline ::std::string* Table_ForeignKeyConstraint::release_references_table_name() {
03013 clear_has_references_table_name();
03014 if (references_table_name_ == &::google::protobuf::internal::kEmptyString) {
03015 return NULL;
03016 } else {
03017 ::std::string* temp = references_table_name_;
03018 references_table_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
03019 return temp;
03020 }
03021 }
03022
03023
03024 inline int Table_ForeignKeyConstraint::references_columns_size() const {
03025 return references_columns_.size();
03026 }
03027 inline void Table_ForeignKeyConstraint::clear_references_columns() {
03028 references_columns_.Clear();
03029 }
03030 inline const ::std::string& Table_ForeignKeyConstraint::references_columns(int index) const {
03031 return references_columns_.Get(index);
03032 }
03033 inline ::std::string* Table_ForeignKeyConstraint::mutable_references_columns(int index) {
03034 return references_columns_.Mutable(index);
03035 }
03036 inline void Table_ForeignKeyConstraint::set_references_columns(int index, const ::std::string& value) {
03037 references_columns_.Mutable(index)->assign(value);
03038 }
03039 inline void Table_ForeignKeyConstraint::set_references_columns(int index, const char* value) {
03040 references_columns_.Mutable(index)->assign(value);
03041 }
03042 inline void Table_ForeignKeyConstraint::set_references_columns(int index, const char* value, size_t size) {
03043 references_columns_.Mutable(index)->assign(
03044 reinterpret_cast<const char*>(value), size);
03045 }
03046 inline ::std::string* Table_ForeignKeyConstraint::add_references_columns() {
03047 return references_columns_.Add();
03048 }
03049 inline void Table_ForeignKeyConstraint::add_references_columns(const ::std::string& value) {
03050 references_columns_.Add()->assign(value);
03051 }
03052 inline void Table_ForeignKeyConstraint::add_references_columns(const char* value) {
03053 references_columns_.Add()->assign(value);
03054 }
03055 inline void Table_ForeignKeyConstraint::add_references_columns(const char* value, size_t size) {
03056 references_columns_.Add()->assign(reinterpret_cast<const char*>(value), size);
03057 }
03058 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
03059 Table_ForeignKeyConstraint::references_columns() const {
03060 return references_columns_;
03061 }
03062 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
03063 Table_ForeignKeyConstraint::mutable_references_columns() {
03064 return &references_columns_;
03065 }
03066
03067
03068 inline bool Table_ForeignKeyConstraint::has_match() const {
03069 return (_has_bits_[0] & 0x00000010u) != 0;
03070 }
03071 inline void Table_ForeignKeyConstraint::set_has_match() {
03072 _has_bits_[0] |= 0x00000010u;
03073 }
03074 inline void Table_ForeignKeyConstraint::clear_has_match() {
03075 _has_bits_[0] &= ~0x00000010u;
03076 }
03077 inline void Table_ForeignKeyConstraint::clear_match() {
03078 match_ = 0;
03079 clear_has_match();
03080 }
03081 inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption Table_ForeignKeyConstraint::match() const {
03082 return static_cast< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption >(match_);
03083 }
03084 inline void Table_ForeignKeyConstraint::set_match(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption value) {
03085 GOOGLE_DCHECK(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption_IsValid(value));
03086 set_has_match();
03087 match_ = value;
03088 }
03089
03090
03091 inline bool Table_ForeignKeyConstraint::has_update_option() const {
03092 return (_has_bits_[0] & 0x00000020u) != 0;
03093 }
03094 inline void Table_ForeignKeyConstraint::set_has_update_option() {
03095 _has_bits_[0] |= 0x00000020u;
03096 }
03097 inline void Table_ForeignKeyConstraint::clear_has_update_option() {
03098 _has_bits_[0] &= ~0x00000020u;
03099 }
03100 inline void Table_ForeignKeyConstraint::clear_update_option() {
03101 update_option_ = 0;
03102 clear_has_update_option();
03103 }
03104 inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption Table_ForeignKeyConstraint::update_option() const {
03105 return static_cast< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption >(update_option_);
03106 }
03107 inline void Table_ForeignKeyConstraint::set_update_option(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption value) {
03108 GOOGLE_DCHECK(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption_IsValid(value));
03109 set_has_update_option();
03110 update_option_ = value;
03111 }
03112
03113
03114 inline bool Table_ForeignKeyConstraint::has_delete_option() const {
03115 return (_has_bits_[0] & 0x00000040u) != 0;
03116 }
03117 inline void Table_ForeignKeyConstraint::set_has_delete_option() {
03118 _has_bits_[0] |= 0x00000040u;
03119 }
03120 inline void Table_ForeignKeyConstraint::clear_has_delete_option() {
03121 _has_bits_[0] &= ~0x00000040u;
03122 }
03123 inline void Table_ForeignKeyConstraint::clear_delete_option() {
03124 delete_option_ = 0;
03125 clear_has_delete_option();
03126 }
03127 inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption Table_ForeignKeyConstraint::delete_option() const {
03128 return static_cast< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption >(delete_option_);
03129 }
03130 inline void Table_ForeignKeyConstraint::set_delete_option(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption value) {
03131 GOOGLE_DCHECK(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption_IsValid(value));
03132 set_has_delete_option();
03133 delete_option_ = value;
03134 }
03135
03136
03137
03138
03139
03140
03141 inline bool Table_Field_FieldOptions::has_default_value() const {
03142 return (_has_bits_[0] & 0x00000001u) != 0;
03143 }
03144 inline void Table_Field_FieldOptions::set_has_default_value() {
03145 _has_bits_[0] |= 0x00000001u;
03146 }
03147 inline void Table_Field_FieldOptions::clear_has_default_value() {
03148 _has_bits_[0] &= ~0x00000001u;
03149 }
03150 inline void Table_Field_FieldOptions::clear_default_value() {
03151 if (default_value_ != &::google::protobuf::internal::kEmptyString) {
03152 default_value_->clear();
03153 }
03154 clear_has_default_value();
03155 }
03156 inline const ::std::string& Table_Field_FieldOptions::default_value() const {
03157 return *default_value_;
03158 }
03159 inline void Table_Field_FieldOptions::set_default_value(const ::std::string& value) {
03160 set_has_default_value();
03161 if (default_value_ == &::google::protobuf::internal::kEmptyString) {
03162 default_value_ = new ::std::string;
03163 }
03164 default_value_->assign(value);
03165 }
03166 inline void Table_Field_FieldOptions::set_default_value(const char* value) {
03167 set_has_default_value();
03168 if (default_value_ == &::google::protobuf::internal::kEmptyString) {
03169 default_value_ = new ::std::string;
03170 }
03171 default_value_->assign(value);
03172 }
03173 inline void Table_Field_FieldOptions::set_default_value(const char* value, size_t size) {
03174 set_has_default_value();
03175 if (default_value_ == &::google::protobuf::internal::kEmptyString) {
03176 default_value_ = new ::std::string;
03177 }
03178 default_value_->assign(reinterpret_cast<const char*>(value), size);
03179 }
03180 inline ::std::string* Table_Field_FieldOptions::mutable_default_value() {
03181 set_has_default_value();
03182 if (default_value_ == &::google::protobuf::internal::kEmptyString) {
03183 default_value_ = new ::std::string;
03184 }
03185 return default_value_;
03186 }
03187 inline ::std::string* Table_Field_FieldOptions::release_default_value() {
03188 clear_has_default_value();
03189 if (default_value_ == &::google::protobuf::internal::kEmptyString) {
03190 return NULL;
03191 } else {
03192 ::std::string* temp = default_value_;
03193 default_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
03194 return temp;
03195 }
03196 }
03197
03198
03199 inline bool Table_Field_FieldOptions::has_update_value() const {
03200 return (_has_bits_[0] & 0x00000002u) != 0;
03201 }
03202 inline void Table_Field_FieldOptions::set_has_update_value() {
03203 _has_bits_[0] |= 0x00000002u;
03204 }
03205 inline void Table_Field_FieldOptions::clear_has_update_value() {
03206 _has_bits_[0] &= ~0x00000002u;
03207 }
03208 inline void Table_Field_FieldOptions::clear_update_value() {
03209 if (update_value_ != &::google::protobuf::internal::kEmptyString) {
03210 update_value_->clear();
03211 }
03212 clear_has_update_value();
03213 }
03214 inline const ::std::string& Table_Field_FieldOptions::update_value() const {
03215 return *update_value_;
03216 }
03217 inline void Table_Field_FieldOptions::set_update_value(const ::std::string& value) {
03218 set_has_update_value();
03219 if (update_value_ == &::google::protobuf::internal::kEmptyString) {
03220 update_value_ = new ::std::string;
03221 }
03222 update_value_->assign(value);
03223 }
03224 inline void Table_Field_FieldOptions::set_update_value(const char* value) {
03225 set_has_update_value();
03226 if (update_value_ == &::google::protobuf::internal::kEmptyString) {
03227 update_value_ = new ::std::string;
03228 }
03229 update_value_->assign(value);
03230 }
03231 inline void Table_Field_FieldOptions::set_update_value(const char* value, size_t size) {
03232 set_has_update_value();
03233 if (update_value_ == &::google::protobuf::internal::kEmptyString) {
03234 update_value_ = new ::std::string;
03235 }
03236 update_value_->assign(reinterpret_cast<const char*>(value), size);
03237 }
03238 inline ::std::string* Table_Field_FieldOptions::mutable_update_value() {
03239 set_has_update_value();
03240 if (update_value_ == &::google::protobuf::internal::kEmptyString) {
03241 update_value_ = new ::std::string;
03242 }
03243 return update_value_;
03244 }
03245 inline ::std::string* Table_Field_FieldOptions::release_update_value() {
03246 clear_has_update_value();
03247 if (update_value_ == &::google::protobuf::internal::kEmptyString) {
03248 return NULL;
03249 } else {
03250 ::std::string* temp = update_value_;
03251 update_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
03252 return temp;
03253 }
03254 }
03255
03256
03257 inline bool Table_Field_FieldOptions::has_default_null() const {
03258 return (_has_bits_[0] & 0x00000004u) != 0;
03259 }
03260 inline void Table_Field_FieldOptions::set_has_default_null() {
03261 _has_bits_[0] |= 0x00000004u;
03262 }
03263 inline void Table_Field_FieldOptions::clear_has_default_null() {
03264 _has_bits_[0] &= ~0x00000004u;
03265 }
03266 inline void Table_Field_FieldOptions::clear_default_null() {
03267 default_null_ = false;
03268 clear_has_default_null();
03269 }
03270 inline bool Table_Field_FieldOptions::default_null() const {
03271 return default_null_;
03272 }
03273 inline void Table_Field_FieldOptions::set_default_null(bool value) {
03274 set_has_default_null();
03275 default_null_ = value;
03276 }
03277
03278
03279 inline bool Table_Field_FieldOptions::has_default_bin_value() const {
03280 return (_has_bits_[0] & 0x00000008u) != 0;
03281 }
03282 inline void Table_Field_FieldOptions::set_has_default_bin_value() {
03283 _has_bits_[0] |= 0x00000008u;
03284 }
03285 inline void Table_Field_FieldOptions::clear_has_default_bin_value() {
03286 _has_bits_[0] &= ~0x00000008u;
03287 }
03288 inline void Table_Field_FieldOptions::clear_default_bin_value() {
03289 if (default_bin_value_ != &::google::protobuf::internal::kEmptyString) {
03290 default_bin_value_->clear();
03291 }
03292 clear_has_default_bin_value();
03293 }
03294 inline const ::std::string& Table_Field_FieldOptions::default_bin_value() const {
03295 return *default_bin_value_;
03296 }
03297 inline void Table_Field_FieldOptions::set_default_bin_value(const ::std::string& value) {
03298 set_has_default_bin_value();
03299 if (default_bin_value_ == &::google::protobuf::internal::kEmptyString) {
03300 default_bin_value_ = new ::std::string;
03301 }
03302 default_bin_value_->assign(value);
03303 }
03304 inline void Table_Field_FieldOptions::set_default_bin_value(const char* value) {
03305 set_has_default_bin_value();
03306 if (default_bin_value_ == &::google::protobuf::internal::kEmptyString) {
03307 default_bin_value_ = new ::std::string;
03308 }
03309 default_bin_value_->assign(value);
03310 }
03311 inline void Table_Field_FieldOptions::set_default_bin_value(const void* value, size_t size) {
03312 set_has_default_bin_value();
03313 if (default_bin_value_ == &::google::protobuf::internal::kEmptyString) {
03314 default_bin_value_ = new ::std::string;
03315 }
03316 default_bin_value_->assign(reinterpret_cast<const char*>(value), size);
03317 }
03318 inline ::std::string* Table_Field_FieldOptions::mutable_default_bin_value() {
03319 set_has_default_bin_value();
03320 if (default_bin_value_ == &::google::protobuf::internal::kEmptyString) {
03321 default_bin_value_ = new ::std::string;
03322 }
03323 return default_bin_value_;
03324 }
03325 inline ::std::string* Table_Field_FieldOptions::release_default_bin_value() {
03326 clear_has_default_bin_value();
03327 if (default_bin_value_ == &::google::protobuf::internal::kEmptyString) {
03328 return NULL;
03329 } else {
03330 ::std::string* temp = default_bin_value_;
03331 default_bin_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
03332 return temp;
03333 }
03334 }
03335
03336
03337 inline bool Table_Field_FieldOptions::has_default_expression() const {
03338 return (_has_bits_[0] & 0x00000010u) != 0;
03339 }
03340 inline void Table_Field_FieldOptions::set_has_default_expression() {
03341 _has_bits_[0] |= 0x00000010u;
03342 }
03343 inline void Table_Field_FieldOptions::clear_has_default_expression() {
03344 _has_bits_[0] &= ~0x00000010u;
03345 }
03346 inline void Table_Field_FieldOptions::clear_default_expression() {
03347 if (default_expression_ != &::google::protobuf::internal::kEmptyString) {
03348 default_expression_->clear();
03349 }
03350 clear_has_default_expression();
03351 }
03352 inline const ::std::string& Table_Field_FieldOptions::default_expression() const {
03353 return *default_expression_;
03354 }
03355 inline void Table_Field_FieldOptions::set_default_expression(const ::std::string& value) {
03356 set_has_default_expression();
03357 if (default_expression_ == &::google::protobuf::internal::kEmptyString) {
03358 default_expression_ = new ::std::string;
03359 }
03360 default_expression_->assign(value);
03361 }
03362 inline void Table_Field_FieldOptions::set_default_expression(const char* value) {
03363 set_has_default_expression();
03364 if (default_expression_ == &::google::protobuf::internal::kEmptyString) {
03365 default_expression_ = new ::std::string;
03366 }
03367 default_expression_->assign(value);
03368 }
03369 inline void Table_Field_FieldOptions::set_default_expression(const char* value, size_t size) {
03370 set_has_default_expression();
03371 if (default_expression_ == &::google::protobuf::internal::kEmptyString) {
03372 default_expression_ = new ::std::string;
03373 }
03374 default_expression_->assign(reinterpret_cast<const char*>(value), size);
03375 }
03376 inline ::std::string* Table_Field_FieldOptions::mutable_default_expression() {
03377 set_has_default_expression();
03378 if (default_expression_ == &::google::protobuf::internal::kEmptyString) {
03379 default_expression_ = new ::std::string;
03380 }
03381 return default_expression_;
03382 }
03383 inline ::std::string* Table_Field_FieldOptions::release_default_expression() {
03384 clear_has_default_expression();
03385 if (default_expression_ == &::google::protobuf::internal::kEmptyString) {
03386 return NULL;
03387 } else {
03388 ::std::string* temp = default_expression_;
03389 default_expression_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
03390 return temp;
03391 }
03392 }
03393
03394
03395 inline bool Table_Field_FieldOptions::has_update_expression() const {
03396 return (_has_bits_[0] & 0x00000020u) != 0;
03397 }
03398 inline void Table_Field_FieldOptions::set_has_update_expression() {
03399 _has_bits_[0] |= 0x00000020u;
03400 }
03401 inline void Table_Field_FieldOptions::clear_has_update_expression() {
03402 _has_bits_[0] &= ~0x00000020u;
03403 }
03404 inline void Table_Field_FieldOptions::clear_update_expression() {
03405 if (update_expression_ != &::google::protobuf::internal::kEmptyString) {
03406 update_expression_->clear();
03407 }
03408 clear_has_update_expression();
03409 }
03410 inline const ::std::string& Table_Field_FieldOptions::update_expression() const {
03411 return *update_expression_;
03412 }
03413 inline void Table_Field_FieldOptions::set_update_expression(const ::std::string& value) {
03414 set_has_update_expression();
03415 if (update_expression_ == &::google::protobuf::internal::kEmptyString) {
03416 update_expression_ = new ::std::string;
03417 }
03418 update_expression_->assign(value);
03419 }
03420 inline void Table_Field_FieldOptions::set_update_expression(const char* value) {
03421 set_has_update_expression();
03422 if (update_expression_ == &::google::protobuf::internal::kEmptyString) {
03423 update_expression_ = new ::std::string;
03424 }
03425 update_expression_->assign(value);
03426 }
03427 inline void Table_Field_FieldOptions::set_update_expression(const char* value, size_t size) {
03428 set_has_update_expression();
03429 if (update_expression_ == &::google::protobuf::internal::kEmptyString) {
03430 update_expression_ = new ::std::string;
03431 }
03432 update_expression_->assign(reinterpret_cast<const char*>(value), size);
03433 }
03434 inline ::std::string* Table_Field_FieldOptions::mutable_update_expression() {
03435 set_has_update_expression();
03436 if (update_expression_ == &::google::protobuf::internal::kEmptyString) {
03437 update_expression_ = new ::std::string;
03438 }
03439 return update_expression_;
03440 }
03441 inline ::std::string* Table_Field_FieldOptions::release_update_expression() {
03442 clear_has_update_expression();
03443 if (update_expression_ == &::google::protobuf::internal::kEmptyString) {
03444 return NULL;
03445 } else {
03446 ::std::string* temp = update_expression_;
03447 update_expression_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
03448 return temp;
03449 }
03450 }
03451
03452
03453
03454
03455
03456
03457 inline bool Table_Field_FieldConstraints::has_is_nullable() const {
03458 return (_has_bits_[0] & 0x00000001u) != 0;
03459 }
03460 inline void Table_Field_FieldConstraints::set_has_is_nullable() {
03461 _has_bits_[0] |= 0x00000001u;
03462 }
03463 inline void Table_Field_FieldConstraints::clear_has_is_nullable() {
03464 _has_bits_[0] &= ~0x00000001u;
03465 }
03466 inline void Table_Field_FieldConstraints::clear_is_nullable() {
03467 is_nullable_ = true;
03468 clear_has_is_nullable();
03469 }
03470 inline bool Table_Field_FieldConstraints::is_nullable() const {
03471 return is_nullable_;
03472 }
03473 inline void Table_Field_FieldConstraints::set_is_nullable(bool value) {
03474 set_has_is_nullable();
03475 is_nullable_ = value;
03476 }
03477
03478
03479 inline bool Table_Field_FieldConstraints::has_is_unsigned() const {
03480 return (_has_bits_[0] & 0x00000002u) != 0;
03481 }
03482 inline void Table_Field_FieldConstraints::set_has_is_unsigned() {
03483 _has_bits_[0] |= 0x00000002u;
03484 }
03485 inline void Table_Field_FieldConstraints::clear_has_is_unsigned() {
03486 _has_bits_[0] &= ~0x00000002u;
03487 }
03488 inline void Table_Field_FieldConstraints::clear_is_unsigned() {
03489 is_unsigned_ = false;
03490 clear_has_is_unsigned();
03491 }
03492 inline bool Table_Field_FieldConstraints::is_unsigned() const {
03493 return is_unsigned_;
03494 }
03495 inline void Table_Field_FieldConstraints::set_is_unsigned(bool value) {
03496 set_has_is_unsigned();
03497 is_unsigned_ = value;
03498 }
03499
03500
03501 inline bool Table_Field_FieldConstraints::has_is_notnull() const {
03502 return (_has_bits_[0] & 0x00000004u) != 0;
03503 }
03504 inline void Table_Field_FieldConstraints::set_has_is_notnull() {
03505 _has_bits_[0] |= 0x00000004u;
03506 }
03507 inline void Table_Field_FieldConstraints::clear_has_is_notnull() {
03508 _has_bits_[0] &= ~0x00000004u;
03509 }
03510 inline void Table_Field_FieldConstraints::clear_is_notnull() {
03511 is_notnull_ = false;
03512 clear_has_is_notnull();
03513 }
03514 inline bool Table_Field_FieldConstraints::is_notnull() const {
03515 return is_notnull_;
03516 }
03517 inline void Table_Field_FieldConstraints::set_is_notnull(bool value) {
03518 set_has_is_notnull();
03519 is_notnull_ = value;
03520 }
03521
03522
03523 inline bool Table_Field_FieldConstraints::has_is_unique() const {
03524 return (_has_bits_[0] & 0x00000008u) != 0;
03525 }
03526 inline void Table_Field_FieldConstraints::set_has_is_unique() {
03527 _has_bits_[0] |= 0x00000008u;
03528 }
03529 inline void Table_Field_FieldConstraints::clear_has_is_unique() {
03530 _has_bits_[0] &= ~0x00000008u;
03531 }
03532 inline void Table_Field_FieldConstraints::clear_is_unique() {
03533 is_unique_ = false;
03534 clear_has_is_unique();
03535 }
03536 inline bool Table_Field_FieldConstraints::is_unique() const {
03537 return is_unique_;
03538 }
03539 inline void Table_Field_FieldConstraints::set_is_unique(bool value) {
03540 set_has_is_unique();
03541 is_unique_ = value;
03542 }
03543
03544
03545 inline int Table_Field_FieldConstraints::expression_size() const {
03546 return expression_.size();
03547 }
03548 inline void Table_Field_FieldConstraints::clear_expression() {
03549 expression_.Clear();
03550 }
03551 inline const ::std::string& Table_Field_FieldConstraints::expression(int index) const {
03552 return expression_.Get(index);
03553 }
03554 inline ::std::string* Table_Field_FieldConstraints::mutable_expression(int index) {
03555 return expression_.Mutable(index);
03556 }
03557 inline void Table_Field_FieldConstraints::set_expression(int index, const ::std::string& value) {
03558 expression_.Mutable(index)->assign(value);
03559 }
03560 inline void Table_Field_FieldConstraints::set_expression(int index, const char* value) {
03561 expression_.Mutable(index)->assign(value);
03562 }
03563 inline void Table_Field_FieldConstraints::set_expression(int index, const char* value, size_t size) {
03564 expression_.Mutable(index)->assign(
03565 reinterpret_cast<const char*>(value), size);
03566 }
03567 inline ::std::string* Table_Field_FieldConstraints::add_expression() {
03568 return expression_.Add();
03569 }
03570 inline void Table_Field_FieldConstraints::add_expression(const ::std::string& value) {
03571 expression_.Add()->assign(value);
03572 }
03573 inline void Table_Field_FieldConstraints::add_expression(const char* value) {
03574 expression_.Add()->assign(value);
03575 }
03576 inline void Table_Field_FieldConstraints::add_expression(const char* value, size_t size) {
03577 expression_.Add()->assign(reinterpret_cast<const char*>(value), size);
03578 }
03579 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
03580 Table_Field_FieldConstraints::expression() const {
03581 return expression_;
03582 }
03583 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
03584 Table_Field_FieldConstraints::mutable_expression() {
03585 return &expression_;
03586 }
03587
03588
03589
03590
03591
03592
03593 inline bool Table_Field_NumericFieldOptions::has_is_autoincrement() const {
03594 return (_has_bits_[0] & 0x00000001u) != 0;
03595 }
03596 inline void Table_Field_NumericFieldOptions::set_has_is_autoincrement() {
03597 _has_bits_[0] |= 0x00000001u;
03598 }
03599 inline void Table_Field_NumericFieldOptions::clear_has_is_autoincrement() {
03600 _has_bits_[0] &= ~0x00000001u;
03601 }
03602 inline void Table_Field_NumericFieldOptions::clear_is_autoincrement() {
03603 is_autoincrement_ = false;
03604 clear_has_is_autoincrement();
03605 }
03606 inline bool Table_Field_NumericFieldOptions::is_autoincrement() const {
03607 return is_autoincrement_;
03608 }
03609 inline void Table_Field_NumericFieldOptions::set_is_autoincrement(bool value) {
03610 set_has_is_autoincrement();
03611 is_autoincrement_ = value;
03612 }
03613
03614
03615 inline bool Table_Field_NumericFieldOptions::has_scale() const {
03616 return (_has_bits_[0] & 0x00000002u) != 0;
03617 }
03618 inline void Table_Field_NumericFieldOptions::set_has_scale() {
03619 _has_bits_[0] |= 0x00000002u;
03620 }
03621 inline void Table_Field_NumericFieldOptions::clear_has_scale() {
03622 _has_bits_[0] &= ~0x00000002u;
03623 }
03624 inline void Table_Field_NumericFieldOptions::clear_scale() {
03625 scale_ = 0u;
03626 clear_has_scale();
03627 }
03628 inline ::google::protobuf::uint32 Table_Field_NumericFieldOptions::scale() const {
03629 return scale_;
03630 }
03631 inline void Table_Field_NumericFieldOptions::set_scale(::google::protobuf::uint32 value) {
03632 set_has_scale();
03633 scale_ = value;
03634 }
03635
03636
03637 inline bool Table_Field_NumericFieldOptions::has_precision() const {
03638 return (_has_bits_[0] & 0x00000004u) != 0;
03639 }
03640 inline void Table_Field_NumericFieldOptions::set_has_precision() {
03641 _has_bits_[0] |= 0x00000004u;
03642 }
03643 inline void Table_Field_NumericFieldOptions::clear_has_precision() {
03644 _has_bits_[0] &= ~0x00000004u;
03645 }
03646 inline void Table_Field_NumericFieldOptions::clear_precision() {
03647 precision_ = 0u;
03648 clear_has_precision();
03649 }
03650 inline ::google::protobuf::uint32 Table_Field_NumericFieldOptions::precision() const {
03651 return precision_;
03652 }
03653 inline void Table_Field_NumericFieldOptions::set_precision(::google::protobuf::uint32 value) {
03654 set_has_precision();
03655 precision_ = value;
03656 }
03657
03658
03659
03660
03661
03662
03663 inline bool Table_Field_StringFieldOptions::has_is_fixed_width() const {
03664 return (_has_bits_[0] & 0x00000001u) != 0;
03665 }
03666 inline void Table_Field_StringFieldOptions::set_has_is_fixed_width() {
03667 _has_bits_[0] |= 0x00000001u;
03668 }
03669 inline void Table_Field_StringFieldOptions::clear_has_is_fixed_width() {
03670 _has_bits_[0] &= ~0x00000001u;
03671 }
03672 inline void Table_Field_StringFieldOptions::clear_is_fixed_width() {
03673 is_fixed_width_ = false;
03674 clear_has_is_fixed_width();
03675 }
03676 inline bool Table_Field_StringFieldOptions::is_fixed_width() const {
03677 return is_fixed_width_;
03678 }
03679 inline void Table_Field_StringFieldOptions::set_is_fixed_width(bool value) {
03680 set_has_is_fixed_width();
03681 is_fixed_width_ = value;
03682 }
03683
03684
03685 inline bool Table_Field_StringFieldOptions::has_length() const {
03686 return (_has_bits_[0] & 0x00000002u) != 0;
03687 }
03688 inline void Table_Field_StringFieldOptions::set_has_length() {
03689 _has_bits_[0] |= 0x00000002u;
03690 }
03691 inline void Table_Field_StringFieldOptions::clear_has_length() {
03692 _has_bits_[0] &= ~0x00000002u;
03693 }
03694 inline void Table_Field_StringFieldOptions::clear_length() {
03695 length_ = 0u;
03696 clear_has_length();
03697 }
03698 inline ::google::protobuf::uint32 Table_Field_StringFieldOptions::length() const {
03699 return length_;
03700 }
03701 inline void Table_Field_StringFieldOptions::set_length(::google::protobuf::uint32 value) {
03702 set_has_length();
03703 length_ = value;
03704 }
03705
03706
03707 inline bool Table_Field_StringFieldOptions::has_collation_id() const {
03708 return (_has_bits_[0] & 0x00000004u) != 0;
03709 }
03710 inline void Table_Field_StringFieldOptions::set_has_collation_id() {
03711 _has_bits_[0] |= 0x00000004u;
03712 }
03713 inline void Table_Field_StringFieldOptions::clear_has_collation_id() {
03714 _has_bits_[0] &= ~0x00000004u;
03715 }
03716 inline void Table_Field_StringFieldOptions::clear_collation_id() {
03717 collation_id_ = 0u;
03718 clear_has_collation_id();
03719 }
03720 inline ::google::protobuf::uint32 Table_Field_StringFieldOptions::collation_id() const {
03721 return collation_id_;
03722 }
03723 inline void Table_Field_StringFieldOptions::set_collation_id(::google::protobuf::uint32 value) {
03724 set_has_collation_id();
03725 collation_id_ = value;
03726 }
03727
03728
03729 inline bool Table_Field_StringFieldOptions::has_collation() const {
03730 return (_has_bits_[0] & 0x00000008u) != 0;
03731 }
03732 inline void Table_Field_StringFieldOptions::set_has_collation() {
03733 _has_bits_[0] |= 0x00000008u;
03734 }
03735 inline void Table_Field_StringFieldOptions::clear_has_collation() {
03736 _has_bits_[0] &= ~0x00000008u;
03737 }
03738 inline void Table_Field_StringFieldOptions::clear_collation() {
03739 if (collation_ != &::google::protobuf::internal::kEmptyString) {
03740 collation_->clear();
03741 }
03742 clear_has_collation();
03743 }
03744 inline const ::std::string& Table_Field_StringFieldOptions::collation() const {
03745 return *collation_;
03746 }
03747 inline void Table_Field_StringFieldOptions::set_collation(const ::std::string& value) {
03748 set_has_collation();
03749 if (collation_ == &::google::protobuf::internal::kEmptyString) {
03750 collation_ = new ::std::string;
03751 }
03752 collation_->assign(value);
03753 }
03754 inline void Table_Field_StringFieldOptions::set_collation(const char* value) {
03755 set_has_collation();
03756 if (collation_ == &::google::protobuf::internal::kEmptyString) {
03757 collation_ = new ::std::string;
03758 }
03759 collation_->assign(value);
03760 }
03761 inline void Table_Field_StringFieldOptions::set_collation(const char* value, size_t size) {
03762 set_has_collation();
03763 if (collation_ == &::google::protobuf::internal::kEmptyString) {
03764 collation_ = new ::std::string;
03765 }
03766 collation_->assign(reinterpret_cast<const char*>(value), size);
03767 }
03768 inline ::std::string* Table_Field_StringFieldOptions::mutable_collation() {
03769 set_has_collation();
03770 if (collation_ == &::google::protobuf::internal::kEmptyString) {
03771 collation_ = new ::std::string;
03772 }
03773 return collation_;
03774 }
03775 inline ::std::string* Table_Field_StringFieldOptions::release_collation() {
03776 clear_has_collation();
03777 if (collation_ == &::google::protobuf::internal::kEmptyString) {
03778 return NULL;
03779 } else {
03780 ::std::string* temp = collation_;
03781 collation_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
03782 return temp;
03783 }
03784 }
03785
03786
03787
03788
03789
03790
03791 inline bool Table_Field_EnumerationValues::has_collation_id() const {
03792 return (_has_bits_[0] & 0x00000001u) != 0;
03793 }
03794 inline void Table_Field_EnumerationValues::set_has_collation_id() {
03795 _has_bits_[0] |= 0x00000001u;
03796 }
03797 inline void Table_Field_EnumerationValues::clear_has_collation_id() {
03798 _has_bits_[0] &= ~0x00000001u;
03799 }
03800 inline void Table_Field_EnumerationValues::clear_collation_id() {
03801 collation_id_ = 0u;
03802 clear_has_collation_id();
03803 }
03804 inline ::google::protobuf::uint32 Table_Field_EnumerationValues::collation_id() const {
03805 return collation_id_;
03806 }
03807 inline void Table_Field_EnumerationValues::set_collation_id(::google::protobuf::uint32 value) {
03808 set_has_collation_id();
03809 collation_id_ = value;
03810 }
03811
03812
03813 inline bool Table_Field_EnumerationValues::has_collation() const {
03814 return (_has_bits_[0] & 0x00000002u) != 0;
03815 }
03816 inline void Table_Field_EnumerationValues::set_has_collation() {
03817 _has_bits_[0] |= 0x00000002u;
03818 }
03819 inline void Table_Field_EnumerationValues::clear_has_collation() {
03820 _has_bits_[0] &= ~0x00000002u;
03821 }
03822 inline void Table_Field_EnumerationValues::clear_collation() {
03823 if (collation_ != &::google::protobuf::internal::kEmptyString) {
03824 collation_->clear();
03825 }
03826 clear_has_collation();
03827 }
03828 inline const ::std::string& Table_Field_EnumerationValues::collation() const {
03829 return *collation_;
03830 }
03831 inline void Table_Field_EnumerationValues::set_collation(const ::std::string& value) {
03832 set_has_collation();
03833 if (collation_ == &::google::protobuf::internal::kEmptyString) {
03834 collation_ = new ::std::string;
03835 }
03836 collation_->assign(value);
03837 }
03838 inline void Table_Field_EnumerationValues::set_collation(const char* value) {
03839 set_has_collation();
03840 if (collation_ == &::google::protobuf::internal::kEmptyString) {
03841 collation_ = new ::std::string;
03842 }
03843 collation_->assign(value);
03844 }
03845 inline void Table_Field_EnumerationValues::set_collation(const char* value, size_t size) {
03846 set_has_collation();
03847 if (collation_ == &::google::protobuf::internal::kEmptyString) {
03848 collation_ = new ::std::string;
03849 }
03850 collation_->assign(reinterpret_cast<const char*>(value), size);
03851 }
03852 inline ::std::string* Table_Field_EnumerationValues::mutable_collation() {
03853 set_has_collation();
03854 if (collation_ == &::google::protobuf::internal::kEmptyString) {
03855 collation_ = new ::std::string;
03856 }
03857 return collation_;
03858 }
03859 inline ::std::string* Table_Field_EnumerationValues::release_collation() {
03860 clear_has_collation();
03861 if (collation_ == &::google::protobuf::internal::kEmptyString) {
03862 return NULL;
03863 } else {
03864 ::std::string* temp = collation_;
03865 collation_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
03866 return temp;
03867 }
03868 }
03869
03870
03871 inline int Table_Field_EnumerationValues::field_value_size() const {
03872 return field_value_.size();
03873 }
03874 inline void Table_Field_EnumerationValues::clear_field_value() {
03875 field_value_.Clear();
03876 }
03877 inline const ::std::string& Table_Field_EnumerationValues::field_value(int index) const {
03878 return field_value_.Get(index);
03879 }
03880 inline ::std::string* Table_Field_EnumerationValues::mutable_field_value(int index) {
03881 return field_value_.Mutable(index);
03882 }
03883 inline void Table_Field_EnumerationValues::set_field_value(int index, const ::std::string& value) {
03884 field_value_.Mutable(index)->assign(value);
03885 }
03886 inline void Table_Field_EnumerationValues::set_field_value(int index, const char* value) {
03887 field_value_.Mutable(index)->assign(value);
03888 }
03889 inline void Table_Field_EnumerationValues::set_field_value(int index, const char* value, size_t size) {
03890 field_value_.Mutable(index)->assign(
03891 reinterpret_cast<const char*>(value), size);
03892 }
03893 inline ::std::string* Table_Field_EnumerationValues::add_field_value() {
03894 return field_value_.Add();
03895 }
03896 inline void Table_Field_EnumerationValues::add_field_value(const ::std::string& value) {
03897 field_value_.Add()->assign(value);
03898 }
03899 inline void Table_Field_EnumerationValues::add_field_value(const char* value) {
03900 field_value_.Add()->assign(value);
03901 }
03902 inline void Table_Field_EnumerationValues::add_field_value(const char* value, size_t size) {
03903 field_value_.Add()->assign(reinterpret_cast<const char*>(value), size);
03904 }
03905 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
03906 Table_Field_EnumerationValues::field_value() const {
03907 return field_value_;
03908 }
03909 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
03910 Table_Field_EnumerationValues::mutable_field_value() {
03911 return &field_value_;
03912 }
03913
03914
03915
03916
03917
03918
03919 inline bool Table_Field_TimeFieldOptions::has_microseconds() const {
03920 return (_has_bits_[0] & 0x00000001u) != 0;
03921 }
03922 inline void Table_Field_TimeFieldOptions::set_has_microseconds() {
03923 _has_bits_[0] |= 0x00000001u;
03924 }
03925 inline void Table_Field_TimeFieldOptions::clear_has_microseconds() {
03926 _has_bits_[0] &= ~0x00000001u;
03927 }
03928 inline void Table_Field_TimeFieldOptions::clear_microseconds() {
03929 microseconds_ = false;
03930 clear_has_microseconds();
03931 }
03932 inline bool Table_Field_TimeFieldOptions::microseconds() const {
03933 return microseconds_;
03934 }
03935 inline void Table_Field_TimeFieldOptions::set_microseconds(bool value) {
03936 set_has_microseconds();
03937 microseconds_ = value;
03938 }
03939
03940
03941
03942
03943
03944
03945 inline bool Table_Field::has_name() const {
03946 return (_has_bits_[0] & 0x00000001u) != 0;
03947 }
03948 inline void Table_Field::set_has_name() {
03949 _has_bits_[0] |= 0x00000001u;
03950 }
03951 inline void Table_Field::clear_has_name() {
03952 _has_bits_[0] &= ~0x00000001u;
03953 }
03954 inline void Table_Field::clear_name() {
03955 if (name_ != &::google::protobuf::internal::kEmptyString) {
03956 name_->clear();
03957 }
03958 clear_has_name();
03959 }
03960 inline const ::std::string& Table_Field::name() const {
03961 return *name_;
03962 }
03963 inline void Table_Field::set_name(const ::std::string& value) {
03964 set_has_name();
03965 if (name_ == &::google::protobuf::internal::kEmptyString) {
03966 name_ = new ::std::string;
03967 }
03968 name_->assign(value);
03969 }
03970 inline void Table_Field::set_name(const char* value) {
03971 set_has_name();
03972 if (name_ == &::google::protobuf::internal::kEmptyString) {
03973 name_ = new ::std::string;
03974 }
03975 name_->assign(value);
03976 }
03977 inline void Table_Field::set_name(const char* value, size_t size) {
03978 set_has_name();
03979 if (name_ == &::google::protobuf::internal::kEmptyString) {
03980 name_ = new ::std::string;
03981 }
03982 name_->assign(reinterpret_cast<const char*>(value), size);
03983 }
03984 inline ::std::string* Table_Field::mutable_name() {
03985 set_has_name();
03986 if (name_ == &::google::protobuf::internal::kEmptyString) {
03987 name_ = new ::std::string;
03988 }
03989 return name_;
03990 }
03991 inline ::std::string* Table_Field::release_name() {
03992 clear_has_name();
03993 if (name_ == &::google::protobuf::internal::kEmptyString) {
03994 return NULL;
03995 } else {
03996 ::std::string* temp = name_;
03997 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
03998 return temp;
03999 }
04000 }
04001
04002
04003 inline bool Table_Field::has_type() const {
04004 return (_has_bits_[0] & 0x00000002u) != 0;
04005 }
04006 inline void Table_Field::set_has_type() {
04007 _has_bits_[0] |= 0x00000002u;
04008 }
04009 inline void Table_Field::clear_has_type() {
04010 _has_bits_[0] &= ~0x00000002u;
04011 }
04012 inline void Table_Field::clear_type() {
04013 type_ = 0;
04014 clear_has_type();
04015 }
04016 inline ::drizzled::message::Table_Field_FieldType Table_Field::type() const {
04017 return static_cast< ::drizzled::message::Table_Field_FieldType >(type_);
04018 }
04019 inline void Table_Field::set_type(::drizzled::message::Table_Field_FieldType value) {
04020 GOOGLE_DCHECK(::drizzled::message::Table_Field_FieldType_IsValid(value));
04021 set_has_type();
04022 type_ = value;
04023 }
04024
04025
04026 inline bool Table_Field::has_options() const {
04027 return (_has_bits_[0] & 0x00000004u) != 0;
04028 }
04029 inline void Table_Field::set_has_options() {
04030 _has_bits_[0] |= 0x00000004u;
04031 }
04032 inline void Table_Field::clear_has_options() {
04033 _has_bits_[0] &= ~0x00000004u;
04034 }
04035 inline void Table_Field::clear_options() {
04036 if (options_ != NULL) options_->::drizzled::message::Table_Field_FieldOptions::Clear();
04037 clear_has_options();
04038 }
04039 inline const ::drizzled::message::Table_Field_FieldOptions& Table_Field::options() const {
04040 return options_ != NULL ? *options_ : *default_instance_->options_;
04041 }
04042 inline ::drizzled::message::Table_Field_FieldOptions* Table_Field::mutable_options() {
04043 set_has_options();
04044 if (options_ == NULL) options_ = new ::drizzled::message::Table_Field_FieldOptions;
04045 return options_;
04046 }
04047 inline ::drizzled::message::Table_Field_FieldOptions* Table_Field::release_options() {
04048 clear_has_options();
04049 ::drizzled::message::Table_Field_FieldOptions* temp = options_;
04050 options_ = NULL;
04051 return temp;
04052 }
04053
04054
04055 inline bool Table_Field::has_constraints() const {
04056 return (_has_bits_[0] & 0x00000008u) != 0;
04057 }
04058 inline void Table_Field::set_has_constraints() {
04059 _has_bits_[0] |= 0x00000008u;
04060 }
04061 inline void Table_Field::clear_has_constraints() {
04062 _has_bits_[0] &= ~0x00000008u;
04063 }
04064 inline void Table_Field::clear_constraints() {
04065 if (constraints_ != NULL) constraints_->::drizzled::message::Table_Field_FieldConstraints::Clear();
04066 clear_has_constraints();
04067 }
04068 inline const ::drizzled::message::Table_Field_FieldConstraints& Table_Field::constraints() const {
04069 return constraints_ != NULL ? *constraints_ : *default_instance_->constraints_;
04070 }
04071 inline ::drizzled::message::Table_Field_FieldConstraints* Table_Field::mutable_constraints() {
04072 set_has_constraints();
04073 if (constraints_ == NULL) constraints_ = new ::drizzled::message::Table_Field_FieldConstraints;
04074 return constraints_;
04075 }
04076 inline ::drizzled::message::Table_Field_FieldConstraints* Table_Field::release_constraints() {
04077 clear_has_constraints();
04078 ::drizzled::message::Table_Field_FieldConstraints* temp = constraints_;
04079 constraints_ = NULL;
04080 return temp;
04081 }
04082
04083
04084 inline bool Table_Field::has_numeric_options() const {
04085 return (_has_bits_[0] & 0x00000010u) != 0;
04086 }
04087 inline void Table_Field::set_has_numeric_options() {
04088 _has_bits_[0] |= 0x00000010u;
04089 }
04090 inline void Table_Field::clear_has_numeric_options() {
04091 _has_bits_[0] &= ~0x00000010u;
04092 }
04093 inline void Table_Field::clear_numeric_options() {
04094 if (numeric_options_ != NULL) numeric_options_->::drizzled::message::Table_Field_NumericFieldOptions::Clear();
04095 clear_has_numeric_options();
04096 }
04097 inline const ::drizzled::message::Table_Field_NumericFieldOptions& Table_Field::numeric_options() const {
04098 return numeric_options_ != NULL ? *numeric_options_ : *default_instance_->numeric_options_;
04099 }
04100 inline ::drizzled::message::Table_Field_NumericFieldOptions* Table_Field::mutable_numeric_options() {
04101 set_has_numeric_options();
04102 if (numeric_options_ == NULL) numeric_options_ = new ::drizzled::message::Table_Field_NumericFieldOptions;
04103 return numeric_options_;
04104 }
04105 inline ::drizzled::message::Table_Field_NumericFieldOptions* Table_Field::release_numeric_options() {
04106 clear_has_numeric_options();
04107 ::drizzled::message::Table_Field_NumericFieldOptions* temp = numeric_options_;
04108 numeric_options_ = NULL;
04109 return temp;
04110 }
04111
04112
04113 inline bool Table_Field::has_string_options() const {
04114 return (_has_bits_[0] & 0x00000020u) != 0;
04115 }
04116 inline void Table_Field::set_has_string_options() {
04117 _has_bits_[0] |= 0x00000020u;
04118 }
04119 inline void Table_Field::clear_has_string_options() {
04120 _has_bits_[0] &= ~0x00000020u;
04121 }
04122 inline void Table_Field::clear_string_options() {
04123 if (string_options_ != NULL) string_options_->::drizzled::message::Table_Field_StringFieldOptions::Clear();
04124 clear_has_string_options();
04125 }
04126 inline const ::drizzled::message::Table_Field_StringFieldOptions& Table_Field::string_options() const {
04127 return string_options_ != NULL ? *string_options_ : *default_instance_->string_options_;
04128 }
04129 inline ::drizzled::message::Table_Field_StringFieldOptions* Table_Field::mutable_string_options() {
04130 set_has_string_options();
04131 if (string_options_ == NULL) string_options_ = new ::drizzled::message::Table_Field_StringFieldOptions;
04132 return string_options_;
04133 }
04134 inline ::drizzled::message::Table_Field_StringFieldOptions* Table_Field::release_string_options() {
04135 clear_has_string_options();
04136 ::drizzled::message::Table_Field_StringFieldOptions* temp = string_options_;
04137 string_options_ = NULL;
04138 return temp;
04139 }
04140
04141
04142 inline bool Table_Field::has_time_options() const {
04143 return (_has_bits_[0] & 0x00000040u) != 0;
04144 }
04145 inline void Table_Field::set_has_time_options() {
04146 _has_bits_[0] |= 0x00000040u;
04147 }
04148 inline void Table_Field::clear_has_time_options() {
04149 _has_bits_[0] &= ~0x00000040u;
04150 }
04151 inline void Table_Field::clear_time_options() {
04152 if (time_options_ != NULL) time_options_->::drizzled::message::Table_Field_TimeFieldOptions::Clear();
04153 clear_has_time_options();
04154 }
04155 inline const ::drizzled::message::Table_Field_TimeFieldOptions& Table_Field::time_options() const {
04156 return time_options_ != NULL ? *time_options_ : *default_instance_->time_options_;
04157 }
04158 inline ::drizzled::message::Table_Field_TimeFieldOptions* Table_Field::mutable_time_options() {
04159 set_has_time_options();
04160 if (time_options_ == NULL) time_options_ = new ::drizzled::message::Table_Field_TimeFieldOptions;
04161 return time_options_;
04162 }
04163 inline ::drizzled::message::Table_Field_TimeFieldOptions* Table_Field::release_time_options() {
04164 clear_has_time_options();
04165 ::drizzled::message::Table_Field_TimeFieldOptions* temp = time_options_;
04166 time_options_ = NULL;
04167 return temp;
04168 }
04169
04170
04171 inline bool Table_Field::has_comment() const {
04172 return (_has_bits_[0] & 0x00000080u) != 0;
04173 }
04174 inline void Table_Field::set_has_comment() {
04175 _has_bits_[0] |= 0x00000080u;
04176 }
04177 inline void Table_Field::clear_has_comment() {
04178 _has_bits_[0] &= ~0x00000080u;
04179 }
04180 inline void Table_Field::clear_comment() {
04181 if (comment_ != &::google::protobuf::internal::kEmptyString) {
04182 comment_->clear();
04183 }
04184 clear_has_comment();
04185 }
04186 inline const ::std::string& Table_Field::comment() const {
04187 return *comment_;
04188 }
04189 inline void Table_Field::set_comment(const ::std::string& value) {
04190 set_has_comment();
04191 if (comment_ == &::google::protobuf::internal::kEmptyString) {
04192 comment_ = new ::std::string;
04193 }
04194 comment_->assign(value);
04195 }
04196 inline void Table_Field::set_comment(const char* value) {
04197 set_has_comment();
04198 if (comment_ == &::google::protobuf::internal::kEmptyString) {
04199 comment_ = new ::std::string;
04200 }
04201 comment_->assign(value);
04202 }
04203 inline void Table_Field::set_comment(const char* value, size_t size) {
04204 set_has_comment();
04205 if (comment_ == &::google::protobuf::internal::kEmptyString) {
04206 comment_ = new ::std::string;
04207 }
04208 comment_->assign(reinterpret_cast<const char*>(value), size);
04209 }
04210 inline ::std::string* Table_Field::mutable_comment() {
04211 set_has_comment();
04212 if (comment_ == &::google::protobuf::internal::kEmptyString) {
04213 comment_ = new ::std::string;
04214 }
04215 return comment_;
04216 }
04217 inline ::std::string* Table_Field::release_comment() {
04218 clear_has_comment();
04219 if (comment_ == &::google::protobuf::internal::kEmptyString) {
04220 return NULL;
04221 } else {
04222 ::std::string* temp = comment_;
04223 comment_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
04224 return temp;
04225 }
04226 }
04227
04228
04229 inline bool Table_Field::has_enumeration_values() const {
04230 return (_has_bits_[0] & 0x00000100u) != 0;
04231 }
04232 inline void Table_Field::set_has_enumeration_values() {
04233 _has_bits_[0] |= 0x00000100u;
04234 }
04235 inline void Table_Field::clear_has_enumeration_values() {
04236 _has_bits_[0] &= ~0x00000100u;
04237 }
04238 inline void Table_Field::clear_enumeration_values() {
04239 if (enumeration_values_ != NULL) enumeration_values_->::drizzled::message::Table_Field_EnumerationValues::Clear();
04240 clear_has_enumeration_values();
04241 }
04242 inline const ::drizzled::message::Table_Field_EnumerationValues& Table_Field::enumeration_values() const {
04243 return enumeration_values_ != NULL ? *enumeration_values_ : *default_instance_->enumeration_values_;
04244 }
04245 inline ::drizzled::message::Table_Field_EnumerationValues* Table_Field::mutable_enumeration_values() {
04246 set_has_enumeration_values();
04247 if (enumeration_values_ == NULL) enumeration_values_ = new ::drizzled::message::Table_Field_EnumerationValues;
04248 return enumeration_values_;
04249 }
04250 inline ::drizzled::message::Table_Field_EnumerationValues* Table_Field::release_enumeration_values() {
04251 clear_has_enumeration_values();
04252 ::drizzled::message::Table_Field_EnumerationValues* temp = enumeration_values_;
04253 enumeration_values_ = NULL;
04254 return temp;
04255 }
04256
04257
04258
04259
04260
04261
04262 inline bool Table_Index_IndexPart::has_fieldnr() const {
04263 return (_has_bits_[0] & 0x00000001u) != 0;
04264 }
04265 inline void Table_Index_IndexPart::set_has_fieldnr() {
04266 _has_bits_[0] |= 0x00000001u;
04267 }
04268 inline void Table_Index_IndexPart::clear_has_fieldnr() {
04269 _has_bits_[0] &= ~0x00000001u;
04270 }
04271 inline void Table_Index_IndexPart::clear_fieldnr() {
04272 fieldnr_ = 0u;
04273 clear_has_fieldnr();
04274 }
04275 inline ::google::protobuf::uint32 Table_Index_IndexPart::fieldnr() const {
04276 return fieldnr_;
04277 }
04278 inline void Table_Index_IndexPart::set_fieldnr(::google::protobuf::uint32 value) {
04279 set_has_fieldnr();
04280 fieldnr_ = value;
04281 }
04282
04283
04284 inline bool Table_Index_IndexPart::has_compare_length() const {
04285 return (_has_bits_[0] & 0x00000002u) != 0;
04286 }
04287 inline void Table_Index_IndexPart::set_has_compare_length() {
04288 _has_bits_[0] |= 0x00000002u;
04289 }
04290 inline void Table_Index_IndexPart::clear_has_compare_length() {
04291 _has_bits_[0] &= ~0x00000002u;
04292 }
04293 inline void Table_Index_IndexPart::clear_compare_length() {
04294 compare_length_ = 0u;
04295 clear_has_compare_length();
04296 }
04297 inline ::google::protobuf::uint32 Table_Index_IndexPart::compare_length() const {
04298 return compare_length_;
04299 }
04300 inline void Table_Index_IndexPart::set_compare_length(::google::protobuf::uint32 value) {
04301 set_has_compare_length();
04302 compare_length_ = value;
04303 }
04304
04305
04306 inline bool Table_Index_IndexPart::has_in_reverse_order() const {
04307 return (_has_bits_[0] & 0x00000004u) != 0;
04308 }
04309 inline void Table_Index_IndexPart::set_has_in_reverse_order() {
04310 _has_bits_[0] |= 0x00000004u;
04311 }
04312 inline void Table_Index_IndexPart::clear_has_in_reverse_order() {
04313 _has_bits_[0] &= ~0x00000004u;
04314 }
04315 inline void Table_Index_IndexPart::clear_in_reverse_order() {
04316 in_reverse_order_ = false;
04317 clear_has_in_reverse_order();
04318 }
04319 inline bool Table_Index_IndexPart::in_reverse_order() const {
04320 return in_reverse_order_;
04321 }
04322 inline void Table_Index_IndexPart::set_in_reverse_order(bool value) {
04323 set_has_in_reverse_order();
04324 in_reverse_order_ = value;
04325 }
04326
04327
04328
04329
04330
04331
04332 inline bool Table_Index_Options::has_pack_key() const {
04333 return (_has_bits_[0] & 0x00000001u) != 0;
04334 }
04335 inline void Table_Index_Options::set_has_pack_key() {
04336 _has_bits_[0] |= 0x00000001u;
04337 }
04338 inline void Table_Index_Options::clear_has_pack_key() {
04339 _has_bits_[0] &= ~0x00000001u;
04340 }
04341 inline void Table_Index_Options::clear_pack_key() {
04342 pack_key_ = false;
04343 clear_has_pack_key();
04344 }
04345 inline bool Table_Index_Options::pack_key() const {
04346 return pack_key_;
04347 }
04348 inline void Table_Index_Options::set_pack_key(bool value) {
04349 set_has_pack_key();
04350 pack_key_ = value;
04351 }
04352
04353
04354 inline bool Table_Index_Options::has_binary_pack_key() const {
04355 return (_has_bits_[0] & 0x00000002u) != 0;
04356 }
04357 inline void Table_Index_Options::set_has_binary_pack_key() {
04358 _has_bits_[0] |= 0x00000002u;
04359 }
04360 inline void Table_Index_Options::clear_has_binary_pack_key() {
04361 _has_bits_[0] &= ~0x00000002u;
04362 }
04363 inline void Table_Index_Options::clear_binary_pack_key() {
04364 binary_pack_key_ = false;
04365 clear_has_binary_pack_key();
04366 }
04367 inline bool Table_Index_Options::binary_pack_key() const {
04368 return binary_pack_key_;
04369 }
04370 inline void Table_Index_Options::set_binary_pack_key(bool value) {
04371 set_has_binary_pack_key();
04372 binary_pack_key_ = value;
04373 }
04374
04375
04376 inline bool Table_Index_Options::has_var_length_key() const {
04377 return (_has_bits_[0] & 0x00000004u) != 0;
04378 }
04379 inline void Table_Index_Options::set_has_var_length_key() {
04380 _has_bits_[0] |= 0x00000004u;
04381 }
04382 inline void Table_Index_Options::clear_has_var_length_key() {
04383 _has_bits_[0] &= ~0x00000004u;
04384 }
04385 inline void Table_Index_Options::clear_var_length_key() {
04386 var_length_key_ = false;
04387 clear_has_var_length_key();
04388 }
04389 inline bool Table_Index_Options::var_length_key() const {
04390 return var_length_key_;
04391 }
04392 inline void Table_Index_Options::set_var_length_key(bool value) {
04393 set_has_var_length_key();
04394 var_length_key_ = value;
04395 }
04396
04397
04398 inline bool Table_Index_Options::has_null_part_key() const {
04399 return (_has_bits_[0] & 0x00000008u) != 0;
04400 }
04401 inline void Table_Index_Options::set_has_null_part_key() {
04402 _has_bits_[0] |= 0x00000008u;
04403 }
04404 inline void Table_Index_Options::clear_has_null_part_key() {
04405 _has_bits_[0] &= ~0x00000008u;
04406 }
04407 inline void Table_Index_Options::clear_null_part_key() {
04408 null_part_key_ = false;
04409 clear_has_null_part_key();
04410 }
04411 inline bool Table_Index_Options::null_part_key() const {
04412 return null_part_key_;
04413 }
04414 inline void Table_Index_Options::set_null_part_key(bool value) {
04415 set_has_null_part_key();
04416 null_part_key_ = value;
04417 }
04418
04419
04420 inline bool Table_Index_Options::has_key_block_size() const {
04421 return (_has_bits_[0] & 0x00000010u) != 0;
04422 }
04423 inline void Table_Index_Options::set_has_key_block_size() {
04424 _has_bits_[0] |= 0x00000010u;
04425 }
04426 inline void Table_Index_Options::clear_has_key_block_size() {
04427 _has_bits_[0] &= ~0x00000010u;
04428 }
04429 inline void Table_Index_Options::clear_key_block_size() {
04430 key_block_size_ = 0u;
04431 clear_has_key_block_size();
04432 }
04433 inline ::google::protobuf::uint32 Table_Index_Options::key_block_size() const {
04434 return key_block_size_;
04435 }
04436 inline void Table_Index_Options::set_key_block_size(::google::protobuf::uint32 value) {
04437 set_has_key_block_size();
04438 key_block_size_ = value;
04439 }
04440
04441
04442 inline bool Table_Index_Options::has_has_partial_segments() const {
04443 return (_has_bits_[0] & 0x00000020u) != 0;
04444 }
04445 inline void Table_Index_Options::set_has_has_partial_segments() {
04446 _has_bits_[0] |= 0x00000020u;
04447 }
04448 inline void Table_Index_Options::clear_has_has_partial_segments() {
04449 _has_bits_[0] &= ~0x00000020u;
04450 }
04451 inline void Table_Index_Options::clear_has_partial_segments() {
04452 has_partial_segments_ = false;
04453 clear_has_has_partial_segments();
04454 }
04455 inline bool Table_Index_Options::has_partial_segments() const {
04456 return has_partial_segments_;
04457 }
04458 inline void Table_Index_Options::set_has_partial_segments(bool value) {
04459 set_has_has_partial_segments();
04460 has_partial_segments_ = value;
04461 }
04462
04463
04464 inline bool Table_Index_Options::has_auto_generated_key() const {
04465 return (_has_bits_[0] & 0x00000040u) != 0;
04466 }
04467 inline void Table_Index_Options::set_has_auto_generated_key() {
04468 _has_bits_[0] |= 0x00000040u;
04469 }
04470 inline void Table_Index_Options::clear_has_auto_generated_key() {
04471 _has_bits_[0] &= ~0x00000040u;
04472 }
04473 inline void Table_Index_Options::clear_auto_generated_key() {
04474 auto_generated_key_ = false;
04475 clear_has_auto_generated_key();
04476 }
04477 inline bool Table_Index_Options::auto_generated_key() const {
04478 return auto_generated_key_;
04479 }
04480 inline void Table_Index_Options::set_auto_generated_key(bool value) {
04481 set_has_auto_generated_key();
04482 auto_generated_key_ = value;
04483 }
04484
04485
04486
04487
04488
04489
04490 inline bool Table_Index::has_name() const {
04491 return (_has_bits_[0] & 0x00000001u) != 0;
04492 }
04493 inline void Table_Index::set_has_name() {
04494 _has_bits_[0] |= 0x00000001u;
04495 }
04496 inline void Table_Index::clear_has_name() {
04497 _has_bits_[0] &= ~0x00000001u;
04498 }
04499 inline void Table_Index::clear_name() {
04500 if (name_ != &::google::protobuf::internal::kEmptyString) {
04501 name_->clear();
04502 }
04503 clear_has_name();
04504 }
04505 inline const ::std::string& Table_Index::name() const {
04506 return *name_;
04507 }
04508 inline void Table_Index::set_name(const ::std::string& value) {
04509 set_has_name();
04510 if (name_ == &::google::protobuf::internal::kEmptyString) {
04511 name_ = new ::std::string;
04512 }
04513 name_->assign(value);
04514 }
04515 inline void Table_Index::set_name(const char* value) {
04516 set_has_name();
04517 if (name_ == &::google::protobuf::internal::kEmptyString) {
04518 name_ = new ::std::string;
04519 }
04520 name_->assign(value);
04521 }
04522 inline void Table_Index::set_name(const char* value, size_t size) {
04523 set_has_name();
04524 if (name_ == &::google::protobuf::internal::kEmptyString) {
04525 name_ = new ::std::string;
04526 }
04527 name_->assign(reinterpret_cast<const char*>(value), size);
04528 }
04529 inline ::std::string* Table_Index::mutable_name() {
04530 set_has_name();
04531 if (name_ == &::google::protobuf::internal::kEmptyString) {
04532 name_ = new ::std::string;
04533 }
04534 return name_;
04535 }
04536 inline ::std::string* Table_Index::release_name() {
04537 clear_has_name();
04538 if (name_ == &::google::protobuf::internal::kEmptyString) {
04539 return NULL;
04540 } else {
04541 ::std::string* temp = name_;
04542 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
04543 return temp;
04544 }
04545 }
04546
04547
04548 inline bool Table_Index::has_is_primary() const {
04549 return (_has_bits_[0] & 0x00000002u) != 0;
04550 }
04551 inline void Table_Index::set_has_is_primary() {
04552 _has_bits_[0] |= 0x00000002u;
04553 }
04554 inline void Table_Index::clear_has_is_primary() {
04555 _has_bits_[0] &= ~0x00000002u;
04556 }
04557 inline void Table_Index::clear_is_primary() {
04558 is_primary_ = false;
04559 clear_has_is_primary();
04560 }
04561 inline bool Table_Index::is_primary() const {
04562 return is_primary_;
04563 }
04564 inline void Table_Index::set_is_primary(bool value) {
04565 set_has_is_primary();
04566 is_primary_ = value;
04567 }
04568
04569
04570 inline bool Table_Index::has_is_unique() const {
04571 return (_has_bits_[0] & 0x00000004u) != 0;
04572 }
04573 inline void Table_Index::set_has_is_unique() {
04574 _has_bits_[0] |= 0x00000004u;
04575 }
04576 inline void Table_Index::clear_has_is_unique() {
04577 _has_bits_[0] &= ~0x00000004u;
04578 }
04579 inline void Table_Index::clear_is_unique() {
04580 is_unique_ = false;
04581 clear_has_is_unique();
04582 }
04583 inline bool Table_Index::is_unique() const {
04584 return is_unique_;
04585 }
04586 inline void Table_Index::set_is_unique(bool value) {
04587 set_has_is_unique();
04588 is_unique_ = value;
04589 }
04590
04591
04592 inline bool Table_Index::has_type() const {
04593 return (_has_bits_[0] & 0x00000008u) != 0;
04594 }
04595 inline void Table_Index::set_has_type() {
04596 _has_bits_[0] |= 0x00000008u;
04597 }
04598 inline void Table_Index::clear_has_type() {
04599 _has_bits_[0] &= ~0x00000008u;
04600 }
04601 inline void Table_Index::clear_type() {
04602 type_ = 0;
04603 clear_has_type();
04604 }
04605 inline ::drizzled::message::Table_Index_IndexType Table_Index::type() const {
04606 return static_cast< ::drizzled::message::Table_Index_IndexType >(type_);
04607 }
04608 inline void Table_Index::set_type(::drizzled::message::Table_Index_IndexType value) {
04609 GOOGLE_DCHECK(::drizzled::message::Table_Index_IndexType_IsValid(value));
04610 set_has_type();
04611 type_ = value;
04612 }
04613
04614
04615 inline bool Table_Index::has_key_length() const {
04616 return (_has_bits_[0] & 0x00000010u) != 0;
04617 }
04618 inline void Table_Index::set_has_key_length() {
04619 _has_bits_[0] |= 0x00000010u;
04620 }
04621 inline void Table_Index::clear_has_key_length() {
04622 _has_bits_[0] &= ~0x00000010u;
04623 }
04624 inline void Table_Index::clear_key_length() {
04625 key_length_ = 0u;
04626 clear_has_key_length();
04627 }
04628 inline ::google::protobuf::uint32 Table_Index::key_length() const {
04629 return key_length_;
04630 }
04631 inline void Table_Index::set_key_length(::google::protobuf::uint32 value) {
04632 set_has_key_length();
04633 key_length_ = value;
04634 }
04635
04636
04637 inline int Table_Index::index_part_size() const {
04638 return index_part_.size();
04639 }
04640 inline void Table_Index::clear_index_part() {
04641 index_part_.Clear();
04642 }
04643 inline const ::drizzled::message::Table_Index_IndexPart& Table_Index::index_part(int index) const {
04644 return index_part_.Get(index);
04645 }
04646 inline ::drizzled::message::Table_Index_IndexPart* Table_Index::mutable_index_part(int index) {
04647 return index_part_.Mutable(index);
04648 }
04649 inline ::drizzled::message::Table_Index_IndexPart* Table_Index::add_index_part() {
04650 return index_part_.Add();
04651 }
04652 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index_IndexPart >&
04653 Table_Index::index_part() const {
04654 return index_part_;
04655 }
04656 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index_IndexPart >*
04657 Table_Index::mutable_index_part() {
04658 return &index_part_;
04659 }
04660
04661
04662 inline bool Table_Index::has_options() const {
04663 return (_has_bits_[0] & 0x00000040u) != 0;
04664 }
04665 inline void Table_Index::set_has_options() {
04666 _has_bits_[0] |= 0x00000040u;
04667 }
04668 inline void Table_Index::clear_has_options() {
04669 _has_bits_[0] &= ~0x00000040u;
04670 }
04671 inline void Table_Index::clear_options() {
04672 if (options_ != NULL) options_->::drizzled::message::Table_Index_Options::Clear();
04673 clear_has_options();
04674 }
04675 inline const ::drizzled::message::Table_Index_Options& Table_Index::options() const {
04676 return options_ != NULL ? *options_ : *default_instance_->options_;
04677 }
04678 inline ::drizzled::message::Table_Index_Options* Table_Index::mutable_options() {
04679 set_has_options();
04680 if (options_ == NULL) options_ = new ::drizzled::message::Table_Index_Options;
04681 return options_;
04682 }
04683 inline ::drizzled::message::Table_Index_Options* Table_Index::release_options() {
04684 clear_has_options();
04685 ::drizzled::message::Table_Index_Options* temp = options_;
04686 options_ = NULL;
04687 return temp;
04688 }
04689
04690
04691 inline bool Table_Index::has_comment() const {
04692 return (_has_bits_[0] & 0x00000080u) != 0;
04693 }
04694 inline void Table_Index::set_has_comment() {
04695 _has_bits_[0] |= 0x00000080u;
04696 }
04697 inline void Table_Index::clear_has_comment() {
04698 _has_bits_[0] &= ~0x00000080u;
04699 }
04700 inline void Table_Index::clear_comment() {
04701 if (comment_ != &::google::protobuf::internal::kEmptyString) {
04702 comment_->clear();
04703 }
04704 clear_has_comment();
04705 }
04706 inline const ::std::string& Table_Index::comment() const {
04707 return *comment_;
04708 }
04709 inline void Table_Index::set_comment(const ::std::string& value) {
04710 set_has_comment();
04711 if (comment_ == &::google::protobuf::internal::kEmptyString) {
04712 comment_ = new ::std::string;
04713 }
04714 comment_->assign(value);
04715 }
04716 inline void Table_Index::set_comment(const char* value) {
04717 set_has_comment();
04718 if (comment_ == &::google::protobuf::internal::kEmptyString) {
04719 comment_ = new ::std::string;
04720 }
04721 comment_->assign(value);
04722 }
04723 inline void Table_Index::set_comment(const char* value, size_t size) {
04724 set_has_comment();
04725 if (comment_ == &::google::protobuf::internal::kEmptyString) {
04726 comment_ = new ::std::string;
04727 }
04728 comment_->assign(reinterpret_cast<const char*>(value), size);
04729 }
04730 inline ::std::string* Table_Index::mutable_comment() {
04731 set_has_comment();
04732 if (comment_ == &::google::protobuf::internal::kEmptyString) {
04733 comment_ = new ::std::string;
04734 }
04735 return comment_;
04736 }
04737 inline ::std::string* Table_Index::release_comment() {
04738 clear_has_comment();
04739 if (comment_ == &::google::protobuf::internal::kEmptyString) {
04740 return NULL;
04741 } else {
04742 ::std::string* temp = comment_;
04743 comment_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
04744 return temp;
04745 }
04746 }
04747
04748
04749
04750
04751
04752
04753 inline bool Table::has_name() const {
04754 return (_has_bits_[0] & 0x00000001u) != 0;
04755 }
04756 inline void Table::set_has_name() {
04757 _has_bits_[0] |= 0x00000001u;
04758 }
04759 inline void Table::clear_has_name() {
04760 _has_bits_[0] &= ~0x00000001u;
04761 }
04762 inline void Table::clear_name() {
04763 if (name_ != &::google::protobuf::internal::kEmptyString) {
04764 name_->clear();
04765 }
04766 clear_has_name();
04767 }
04768 inline const ::std::string& Table::name() const {
04769 return *name_;
04770 }
04771 inline void Table::set_name(const ::std::string& value) {
04772 set_has_name();
04773 if (name_ == &::google::protobuf::internal::kEmptyString) {
04774 name_ = new ::std::string;
04775 }
04776 name_->assign(value);
04777 }
04778 inline void Table::set_name(const char* value) {
04779 set_has_name();
04780 if (name_ == &::google::protobuf::internal::kEmptyString) {
04781 name_ = new ::std::string;
04782 }
04783 name_->assign(value);
04784 }
04785 inline void Table::set_name(const char* value, size_t size) {
04786 set_has_name();
04787 if (name_ == &::google::protobuf::internal::kEmptyString) {
04788 name_ = new ::std::string;
04789 }
04790 name_->assign(reinterpret_cast<const char*>(value), size);
04791 }
04792 inline ::std::string* Table::mutable_name() {
04793 set_has_name();
04794 if (name_ == &::google::protobuf::internal::kEmptyString) {
04795 name_ = new ::std::string;
04796 }
04797 return name_;
04798 }
04799 inline ::std::string* Table::release_name() {
04800 clear_has_name();
04801 if (name_ == &::google::protobuf::internal::kEmptyString) {
04802 return NULL;
04803 } else {
04804 ::std::string* temp = name_;
04805 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
04806 return temp;
04807 }
04808 }
04809
04810
04811 inline bool Table::has_schema() const {
04812 return (_has_bits_[0] & 0x00000002u) != 0;
04813 }
04814 inline void Table::set_has_schema() {
04815 _has_bits_[0] |= 0x00000002u;
04816 }
04817 inline void Table::clear_has_schema() {
04818 _has_bits_[0] &= ~0x00000002u;
04819 }
04820 inline void Table::clear_schema() {
04821 if (schema_ != &::google::protobuf::internal::kEmptyString) {
04822 schema_->clear();
04823 }
04824 clear_has_schema();
04825 }
04826 inline const ::std::string& Table::schema() const {
04827 return *schema_;
04828 }
04829 inline void Table::set_schema(const ::std::string& value) {
04830 set_has_schema();
04831 if (schema_ == &::google::protobuf::internal::kEmptyString) {
04832 schema_ = new ::std::string;
04833 }
04834 schema_->assign(value);
04835 }
04836 inline void Table::set_schema(const char* value) {
04837 set_has_schema();
04838 if (schema_ == &::google::protobuf::internal::kEmptyString) {
04839 schema_ = new ::std::string;
04840 }
04841 schema_->assign(value);
04842 }
04843 inline void Table::set_schema(const char* value, size_t size) {
04844 set_has_schema();
04845 if (schema_ == &::google::protobuf::internal::kEmptyString) {
04846 schema_ = new ::std::string;
04847 }
04848 schema_->assign(reinterpret_cast<const char*>(value), size);
04849 }
04850 inline ::std::string* Table::mutable_schema() {
04851 set_has_schema();
04852 if (schema_ == &::google::protobuf::internal::kEmptyString) {
04853 schema_ = new ::std::string;
04854 }
04855 return schema_;
04856 }
04857 inline ::std::string* Table::release_schema() {
04858 clear_has_schema();
04859 if (schema_ == &::google::protobuf::internal::kEmptyString) {
04860 return NULL;
04861 } else {
04862 ::std::string* temp = schema_;
04863 schema_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
04864 return temp;
04865 }
04866 }
04867
04868
04869 inline bool Table::has_type() const {
04870 return (_has_bits_[0] & 0x00000004u) != 0;
04871 }
04872 inline void Table::set_has_type() {
04873 _has_bits_[0] |= 0x00000004u;
04874 }
04875 inline void Table::clear_has_type() {
04876 _has_bits_[0] &= ~0x00000004u;
04877 }
04878 inline void Table::clear_type() {
04879 type_ = 0;
04880 clear_has_type();
04881 }
04882 inline ::drizzled::message::Table_TableType Table::type() const {
04883 return static_cast< ::drizzled::message::Table_TableType >(type_);
04884 }
04885 inline void Table::set_type(::drizzled::message::Table_TableType value) {
04886 GOOGLE_DCHECK(::drizzled::message::Table_TableType_IsValid(value));
04887 set_has_type();
04888 type_ = value;
04889 }
04890
04891
04892 inline bool Table::has_engine() const {
04893 return (_has_bits_[0] & 0x00000008u) != 0;
04894 }
04895 inline void Table::set_has_engine() {
04896 _has_bits_[0] |= 0x00000008u;
04897 }
04898 inline void Table::clear_has_engine() {
04899 _has_bits_[0] &= ~0x00000008u;
04900 }
04901 inline void Table::clear_engine() {
04902 if (engine_ != NULL) engine_->::drizzled::message::Engine::Clear();
04903 clear_has_engine();
04904 }
04905 inline const ::drizzled::message::Engine& Table::engine() const {
04906 return engine_ != NULL ? *engine_ : *default_instance_->engine_;
04907 }
04908 inline ::drizzled::message::Engine* Table::mutable_engine() {
04909 set_has_engine();
04910 if (engine_ == NULL) engine_ = new ::drizzled::message::Engine;
04911 return engine_;
04912 }
04913 inline ::drizzled::message::Engine* Table::release_engine() {
04914 clear_has_engine();
04915 ::drizzled::message::Engine* temp = engine_;
04916 engine_ = NULL;
04917 return temp;
04918 }
04919
04920
04921 inline int Table::field_size() const {
04922 return field_.size();
04923 }
04924 inline void Table::clear_field() {
04925 field_.Clear();
04926 }
04927 inline const ::drizzled::message::Table_Field& Table::field(int index) const {
04928 return field_.Get(index);
04929 }
04930 inline ::drizzled::message::Table_Field* Table::mutable_field(int index) {
04931 return field_.Mutable(index);
04932 }
04933 inline ::drizzled::message::Table_Field* Table::add_field() {
04934 return field_.Add();
04935 }
04936 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >&
04937 Table::field() const {
04938 return field_;
04939 }
04940 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >*
04941 Table::mutable_field() {
04942 return &field_;
04943 }
04944
04945
04946 inline int Table::indexes_size() const {
04947 return indexes_.size();
04948 }
04949 inline void Table::clear_indexes() {
04950 indexes_.Clear();
04951 }
04952 inline const ::drizzled::message::Table_Index& Table::indexes(int index) const {
04953 return indexes_.Get(index);
04954 }
04955 inline ::drizzled::message::Table_Index* Table::mutable_indexes(int index) {
04956 return indexes_.Mutable(index);
04957 }
04958 inline ::drizzled::message::Table_Index* Table::add_indexes() {
04959 return indexes_.Add();
04960 }
04961 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index >&
04962 Table::indexes() const {
04963 return indexes_;
04964 }
04965 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index >*
04966 Table::mutable_indexes() {
04967 return &indexes_;
04968 }
04969
04970
04971 inline int Table::fk_constraint_size() const {
04972 return fk_constraint_.size();
04973 }
04974 inline void Table::clear_fk_constraint() {
04975 fk_constraint_.Clear();
04976 }
04977 inline const ::drizzled::message::Table_ForeignKeyConstraint& Table::fk_constraint(int index) const {
04978 return fk_constraint_.Get(index);
04979 }
04980 inline ::drizzled::message::Table_ForeignKeyConstraint* Table::mutable_fk_constraint(int index) {
04981 return fk_constraint_.Mutable(index);
04982 }
04983 inline ::drizzled::message::Table_ForeignKeyConstraint* Table::add_fk_constraint() {
04984 return fk_constraint_.Add();
04985 }
04986 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_ForeignKeyConstraint >&
04987 Table::fk_constraint() const {
04988 return fk_constraint_;
04989 }
04990 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_ForeignKeyConstraint >*
04991 Table::mutable_fk_constraint() {
04992 return &fk_constraint_;
04993 }
04994
04995
04996 inline bool Table::has_options() const {
04997 return (_has_bits_[0] & 0x00000080u) != 0;
04998 }
04999 inline void Table::set_has_options() {
05000 _has_bits_[0] |= 0x00000080u;
05001 }
05002 inline void Table::clear_has_options() {
05003 _has_bits_[0] &= ~0x00000080u;
05004 }
05005 inline void Table::clear_options() {
05006 if (options_ != NULL) options_->::drizzled::message::Table_TableOptions::Clear();
05007 clear_has_options();
05008 }
05009 inline const ::drizzled::message::Table_TableOptions& Table::options() const {
05010 return options_ != NULL ? *options_ : *default_instance_->options_;
05011 }
05012 inline ::drizzled::message::Table_TableOptions* Table::mutable_options() {
05013 set_has_options();
05014 if (options_ == NULL) options_ = new ::drizzled::message::Table_TableOptions;
05015 return options_;
05016 }
05017 inline ::drizzled::message::Table_TableOptions* Table::release_options() {
05018 clear_has_options();
05019 ::drizzled::message::Table_TableOptions* temp = options_;
05020 options_ = NULL;
05021 return temp;
05022 }
05023
05024
05025 inline bool Table::has_creation_timestamp() const {
05026 return (_has_bits_[0] & 0x00000100u) != 0;
05027 }
05028 inline void Table::set_has_creation_timestamp() {
05029 _has_bits_[0] |= 0x00000100u;
05030 }
05031 inline void Table::clear_has_creation_timestamp() {
05032 _has_bits_[0] &= ~0x00000100u;
05033 }
05034 inline void Table::clear_creation_timestamp() {
05035 creation_timestamp_ = GOOGLE_ULONGLONG(0);
05036 clear_has_creation_timestamp();
05037 }
05038 inline ::google::protobuf::uint64 Table::creation_timestamp() const {
05039 return creation_timestamp_;
05040 }
05041 inline void Table::set_creation_timestamp(::google::protobuf::uint64 value) {
05042 set_has_creation_timestamp();
05043 creation_timestamp_ = value;
05044 }
05045
05046
05047 inline bool Table::has_update_timestamp() const {
05048 return (_has_bits_[0] & 0x00000200u) != 0;
05049 }
05050 inline void Table::set_has_update_timestamp() {
05051 _has_bits_[0] |= 0x00000200u;
05052 }
05053 inline void Table::clear_has_update_timestamp() {
05054 _has_bits_[0] &= ~0x00000200u;
05055 }
05056 inline void Table::clear_update_timestamp() {
05057 update_timestamp_ = GOOGLE_ULONGLONG(0);
05058 clear_has_update_timestamp();
05059 }
05060 inline ::google::protobuf::uint64 Table::update_timestamp() const {
05061 return update_timestamp_;
05062 }
05063 inline void Table::set_update_timestamp(::google::protobuf::uint64 value) {
05064 set_has_update_timestamp();
05065 update_timestamp_ = value;
05066 }
05067
05068
05069 inline bool Table::has_catalog() const {
05070 return (_has_bits_[0] & 0x00000400u) != 0;
05071 }
05072 inline void Table::set_has_catalog() {
05073 _has_bits_[0] |= 0x00000400u;
05074 }
05075 inline void Table::clear_has_catalog() {
05076 _has_bits_[0] &= ~0x00000400u;
05077 }
05078 inline void Table::clear_catalog() {
05079 if (catalog_ != &::google::protobuf::internal::kEmptyString) {
05080 catalog_->clear();
05081 }
05082 clear_has_catalog();
05083 }
05084 inline const ::std::string& Table::catalog() const {
05085 return *catalog_;
05086 }
05087 inline void Table::set_catalog(const ::std::string& value) {
05088 set_has_catalog();
05089 if (catalog_ == &::google::protobuf::internal::kEmptyString) {
05090 catalog_ = new ::std::string;
05091 }
05092 catalog_->assign(value);
05093 }
05094 inline void Table::set_catalog(const char* value) {
05095 set_has_catalog();
05096 if (catalog_ == &::google::protobuf::internal::kEmptyString) {
05097 catalog_ = new ::std::string;
05098 }
05099 catalog_->assign(value);
05100 }
05101 inline void Table::set_catalog(const char* value, size_t size) {
05102 set_has_catalog();
05103 if (catalog_ == &::google::protobuf::internal::kEmptyString) {
05104 catalog_ = new ::std::string;
05105 }
05106 catalog_->assign(reinterpret_cast<const char*>(value), size);
05107 }
05108 inline ::std::string* Table::mutable_catalog() {
05109 set_has_catalog();
05110 if (catalog_ == &::google::protobuf::internal::kEmptyString) {
05111 catalog_ = new ::std::string;
05112 }
05113 return catalog_;
05114 }
05115 inline ::std::string* Table::release_catalog() {
05116 clear_has_catalog();
05117 if (catalog_ == &::google::protobuf::internal::kEmptyString) {
05118 return NULL;
05119 } else {
05120 ::std::string* temp = catalog_;
05121 catalog_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
05122 return temp;
05123 }
05124 }
05125
05126
05127 inline bool Table::has_uuid() const {
05128 return (_has_bits_[0] & 0x00000800u) != 0;
05129 }
05130 inline void Table::set_has_uuid() {
05131 _has_bits_[0] |= 0x00000800u;
05132 }
05133 inline void Table::clear_has_uuid() {
05134 _has_bits_[0] &= ~0x00000800u;
05135 }
05136 inline void Table::clear_uuid() {
05137 if (uuid_ != &::google::protobuf::internal::kEmptyString) {
05138 uuid_->clear();
05139 }
05140 clear_has_uuid();
05141 }
05142 inline const ::std::string& Table::uuid() const {
05143 return *uuid_;
05144 }
05145 inline void Table::set_uuid(const ::std::string& value) {
05146 set_has_uuid();
05147 if (uuid_ == &::google::protobuf::internal::kEmptyString) {
05148 uuid_ = new ::std::string;
05149 }
05150 uuid_->assign(value);
05151 }
05152 inline void Table::set_uuid(const char* value) {
05153 set_has_uuid();
05154 if (uuid_ == &::google::protobuf::internal::kEmptyString) {
05155 uuid_ = new ::std::string;
05156 }
05157 uuid_->assign(value);
05158 }
05159 inline void Table::set_uuid(const char* value, size_t size) {
05160 set_has_uuid();
05161 if (uuid_ == &::google::protobuf::internal::kEmptyString) {
05162 uuid_ = new ::std::string;
05163 }
05164 uuid_->assign(reinterpret_cast<const char*>(value), size);
05165 }
05166 inline ::std::string* Table::mutable_uuid() {
05167 set_has_uuid();
05168 if (uuid_ == &::google::protobuf::internal::kEmptyString) {
05169 uuid_ = new ::std::string;
05170 }
05171 return uuid_;
05172 }
05173 inline ::std::string* Table::release_uuid() {
05174 clear_has_uuid();
05175 if (uuid_ == &::google::protobuf::internal::kEmptyString) {
05176 return NULL;
05177 } else {
05178 ::std::string* temp = uuid_;
05179 uuid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
05180 return temp;
05181 }
05182 }
05183
05184
05185 inline bool Table::has_version() const {
05186 return (_has_bits_[0] & 0x00001000u) != 0;
05187 }
05188 inline void Table::set_has_version() {
05189 _has_bits_[0] |= 0x00001000u;
05190 }
05191 inline void Table::clear_has_version() {
05192 _has_bits_[0] &= ~0x00001000u;
05193 }
05194 inline void Table::clear_version() {
05195 version_ = GOOGLE_ULONGLONG(0);
05196 clear_has_version();
05197 }
05198 inline ::google::protobuf::uint64 Table::version() const {
05199 return version_;
05200 }
05201 inline void Table::set_version(::google::protobuf::uint64 value) {
05202 set_has_version();
05203 version_ = value;
05204 }
05205
05206
05207 inline bool Table::has_replication_options() const {
05208 return (_has_bits_[0] & 0x00002000u) != 0;
05209 }
05210 inline void Table::set_has_replication_options() {
05211 _has_bits_[0] |= 0x00002000u;
05212 }
05213 inline void Table::clear_has_replication_options() {
05214 _has_bits_[0] &= ~0x00002000u;
05215 }
05216 inline void Table::clear_replication_options() {
05217 if (replication_options_ != NULL) replication_options_->::drizzled::message::ReplicationOptions::Clear();
05218 clear_has_replication_options();
05219 }
05220 inline const ::drizzled::message::ReplicationOptions& Table::replication_options() const {
05221 return replication_options_ != NULL ? *replication_options_ : *default_instance_->replication_options_;
05222 }
05223 inline ::drizzled::message::ReplicationOptions* Table::mutable_replication_options() {
05224 set_has_replication_options();
05225 if (replication_options_ == NULL) replication_options_ = new ::drizzled::message::ReplicationOptions;
05226 return replication_options_;
05227 }
05228 inline ::drizzled::message::ReplicationOptions* Table::release_replication_options() {
05229 clear_has_replication_options();
05230 ::drizzled::message::ReplicationOptions* temp = replication_options_;
05231 replication_options_ = NULL;
05232 return temp;
05233 }
05234
05235
05236 inline bool Table::has_access() const {
05237 return (_has_bits_[0] & 0x00004000u) != 0;
05238 }
05239 inline void Table::set_has_access() {
05240 _has_bits_[0] |= 0x00004000u;
05241 }
05242 inline void Table::clear_has_access() {
05243 _has_bits_[0] &= ~0x00004000u;
05244 }
05245 inline void Table::clear_access() {
05246 if (access_ != NULL) access_->::drizzled::message::Access::Clear();
05247 clear_has_access();
05248 }
05249 inline const ::drizzled::message::Access& Table::access() const {
05250 return access_ != NULL ? *access_ : *default_instance_->access_;
05251 }
05252 inline ::drizzled::message::Access* Table::mutable_access() {
05253 set_has_access();
05254 if (access_ == NULL) access_ = new ::drizzled::message::Access;
05255 return access_;
05256 }
05257 inline ::drizzled::message::Access* Table::release_access() {
05258 clear_has_access();
05259 ::drizzled::message::Access* temp = access_;
05260 access_ = NULL;
05261 return temp;
05262 }
05263
05264
05265
05266
05267
05268
05269 inline int AddedFields::added_field_size() const {
05270 return added_field_.size();
05271 }
05272 inline void AddedFields::clear_added_field() {
05273 added_field_.Clear();
05274 }
05275 inline const ::drizzled::message::Table_Field& AddedFields::added_field(int index) const {
05276 return added_field_.Get(index);
05277 }
05278 inline ::drizzled::message::Table_Field* AddedFields::mutable_added_field(int index) {
05279 return added_field_.Mutable(index);
05280 }
05281 inline ::drizzled::message::Table_Field* AddedFields::add_added_field() {
05282 return added_field_.Add();
05283 }
05284 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >&
05285 AddedFields::added_field() const {
05286 return added_field_;
05287 }
05288 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >*
05289 AddedFields::mutable_added_field() {
05290 return &added_field_;
05291 }
05292
05293
05294
05295
05296 }
05297 }
05298
05299 #ifndef SWIG
05300 namespace google {
05301 namespace protobuf {
05302
05303 template <>
05304 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption>() {
05305 return ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption_descriptor();
05306 }
05307 template <>
05308 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption>() {
05309 return ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption_descriptor();
05310 }
05311 template <>
05312 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::Table_Field_FieldType>() {
05313 return ::drizzled::message::Table_Field_FieldType_descriptor();
05314 }
05315 template <>
05316 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::Table_Index_IndexType>() {
05317 return ::drizzled::message::Table_Index_IndexType_descriptor();
05318 }
05319 template <>
05320 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::Table_TableType>() {
05321 return ::drizzled::message::Table_TableType_descriptor();
05322 }
05323
05324 }
05325 }
05326 #endif // SWIG
05327
05328
05329
05330 #endif // PROTOBUF_table_2eproto__INCLUDED