00001
00002
00003
00004 #ifndef PROTOBUF_alter_5ftable_2eproto__INCLUDED
00005 #define PROTOBUF_alter_5ftable_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
00027
00028 namespace drizzled {
00029 namespace message {
00030
00031
00032 void protobuf_AddDesc_alter_5ftable_2eproto();
00033 void protobuf_AssignDesc_alter_5ftable_2eproto();
00034 void protobuf_ShutdownFile_alter_5ftable_2eproto();
00035
00036 class AlterTable;
00037 class AlterTable_AlterTableOperation;
00038 class AlterTable_RenameTable;
00039 class AlterTable_AlterKeysOnOff;
00040
00041 enum AlterTable_AlterTableOperation_Operation {
00042 AlterTable_AlterTableOperation_Operation_DISCARD_TABLESPACE = 0,
00043 AlterTable_AlterTableOperation_Operation_IMPORT_TABLESPACE = 1,
00044 AlterTable_AlterTableOperation_Operation_DROP_KEY = 2,
00045 AlterTable_AlterTableOperation_Operation_DROP_COLUMN = 3,
00046 AlterTable_AlterTableOperation_Operation_DROP_FOREIGN_KEY = 4
00047 };
00048 bool AlterTable_AlterTableOperation_Operation_IsValid(int value);
00049 const AlterTable_AlterTableOperation_Operation AlterTable_AlterTableOperation_Operation_Operation_MIN = AlterTable_AlterTableOperation_Operation_DISCARD_TABLESPACE;
00050 const AlterTable_AlterTableOperation_Operation AlterTable_AlterTableOperation_Operation_Operation_MAX = AlterTable_AlterTableOperation_Operation_DROP_FOREIGN_KEY;
00051 const int AlterTable_AlterTableOperation_Operation_Operation_ARRAYSIZE = AlterTable_AlterTableOperation_Operation_Operation_MAX + 1;
00052
00053 const ::google::protobuf::EnumDescriptor* AlterTable_AlterTableOperation_Operation_descriptor();
00054 inline const ::std::string& AlterTable_AlterTableOperation_Operation_Name(AlterTable_AlterTableOperation_Operation value) {
00055 return ::google::protobuf::internal::NameOfEnum(
00056 AlterTable_AlterTableOperation_Operation_descriptor(), value);
00057 }
00058 inline bool AlterTable_AlterTableOperation_Operation_Parse(
00059 const ::std::string& name, AlterTable_AlterTableOperation_Operation* value) {
00060 return ::google::protobuf::internal::ParseNamedEnum<AlterTable_AlterTableOperation_Operation>(
00061 AlterTable_AlterTableOperation_Operation_descriptor(), name, value);
00062 }
00063 enum AlterTable_BuildMethod {
00064 AlterTable_BuildMethod_BUILD_DEFAULT = 0,
00065 AlterTable_BuildMethod_BUILD_ONLINE = 1,
00066 AlterTable_BuildMethod_BUILD_OFFLINE = 2
00067 };
00068 bool AlterTable_BuildMethod_IsValid(int value);
00069 const AlterTable_BuildMethod AlterTable_BuildMethod_BuildMethod_MIN = AlterTable_BuildMethod_BUILD_DEFAULT;
00070 const AlterTable_BuildMethod AlterTable_BuildMethod_BuildMethod_MAX = AlterTable_BuildMethod_BUILD_OFFLINE;
00071 const int AlterTable_BuildMethod_BuildMethod_ARRAYSIZE = AlterTable_BuildMethod_BuildMethod_MAX + 1;
00072
00073 const ::google::protobuf::EnumDescriptor* AlterTable_BuildMethod_descriptor();
00074 inline const ::std::string& AlterTable_BuildMethod_Name(AlterTable_BuildMethod value) {
00075 return ::google::protobuf::internal::NameOfEnum(
00076 AlterTable_BuildMethod_descriptor(), value);
00077 }
00078 inline bool AlterTable_BuildMethod_Parse(
00079 const ::std::string& name, AlterTable_BuildMethod* value) {
00080 return ::google::protobuf::internal::ParseNamedEnum<AlterTable_BuildMethod>(
00081 AlterTable_BuildMethod_descriptor(), name, value);
00082 }
00083
00084
00085 class AlterTable_AlterTableOperation : public ::google::protobuf::Message {
00086 public:
00087 AlterTable_AlterTableOperation();
00088 virtual ~AlterTable_AlterTableOperation();
00089
00090 AlterTable_AlterTableOperation(const AlterTable_AlterTableOperation& from);
00091
00092 inline AlterTable_AlterTableOperation& operator=(const AlterTable_AlterTableOperation& from) {
00093 CopyFrom(from);
00094 return *this;
00095 }
00096
00097 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00098 return _unknown_fields_;
00099 }
00100
00101 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00102 return &_unknown_fields_;
00103 }
00104
00105 static const ::google::protobuf::Descriptor* descriptor();
00106 static const AlterTable_AlterTableOperation& default_instance();
00107
00108 void Swap(AlterTable_AlterTableOperation* other);
00109
00110
00111
00112 AlterTable_AlterTableOperation* New() const;
00113 void CopyFrom(const ::google::protobuf::Message& from);
00114 void MergeFrom(const ::google::protobuf::Message& from);
00115 void CopyFrom(const AlterTable_AlterTableOperation& from);
00116 void MergeFrom(const AlterTable_AlterTableOperation& from);
00117 void Clear();
00118 bool IsInitialized() const;
00119
00120 int ByteSize() const;
00121 bool MergePartialFromCodedStream(
00122 ::google::protobuf::io::CodedInputStream* input);
00123 void SerializeWithCachedSizes(
00124 ::google::protobuf::io::CodedOutputStream* output) const;
00125 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00126 int GetCachedSize() const { return _cached_size_; }
00127 private:
00128 void SharedCtor();
00129 void SharedDtor();
00130 void SetCachedSize(int size) const;
00131 public:
00132
00133 ::google::protobuf::Metadata GetMetadata() const;
00134
00135
00136
00137 typedef AlterTable_AlterTableOperation_Operation Operation;
00138 static const Operation DISCARD_TABLESPACE = AlterTable_AlterTableOperation_Operation_DISCARD_TABLESPACE;
00139 static const Operation IMPORT_TABLESPACE = AlterTable_AlterTableOperation_Operation_IMPORT_TABLESPACE;
00140 static const Operation DROP_KEY = AlterTable_AlterTableOperation_Operation_DROP_KEY;
00141 static const Operation DROP_COLUMN = AlterTable_AlterTableOperation_Operation_DROP_COLUMN;
00142 static const Operation DROP_FOREIGN_KEY = AlterTable_AlterTableOperation_Operation_DROP_FOREIGN_KEY;
00143 static inline bool Operation_IsValid(int value) {
00144 return AlterTable_AlterTableOperation_Operation_IsValid(value);
00145 }
00146 static const Operation Operation_MIN =
00147 AlterTable_AlterTableOperation_Operation_Operation_MIN;
00148 static const Operation Operation_MAX =
00149 AlterTable_AlterTableOperation_Operation_Operation_MAX;
00150 static const int Operation_ARRAYSIZE =
00151 AlterTable_AlterTableOperation_Operation_Operation_ARRAYSIZE;
00152 static inline const ::google::protobuf::EnumDescriptor*
00153 Operation_descriptor() {
00154 return AlterTable_AlterTableOperation_Operation_descriptor();
00155 }
00156 static inline const ::std::string& Operation_Name(Operation value) {
00157 return AlterTable_AlterTableOperation_Operation_Name(value);
00158 }
00159 static inline bool Operation_Parse(const ::std::string& name,
00160 Operation* value) {
00161 return AlterTable_AlterTableOperation_Operation_Parse(name, value);
00162 }
00163
00164
00165
00166
00167 inline bool has_operation() const;
00168 inline void clear_operation();
00169 static const int kOperationFieldNumber = 1;
00170 inline ::drizzled::message::AlterTable_AlterTableOperation_Operation operation() const;
00171 inline void set_operation(::drizzled::message::AlterTable_AlterTableOperation_Operation value);
00172
00173
00174 inline bool has_drop_name() const;
00175 inline void clear_drop_name();
00176 static const int kDropNameFieldNumber = 2;
00177 inline const ::std::string& drop_name() const;
00178 inline void set_drop_name(const ::std::string& value);
00179 inline void set_drop_name(const char* value);
00180 inline void set_drop_name(const char* value, size_t size);
00181 inline ::std::string* mutable_drop_name();
00182 inline ::std::string* release_drop_name();
00183
00184
00185 private:
00186 inline void set_has_operation();
00187 inline void clear_has_operation();
00188 inline void set_has_drop_name();
00189 inline void clear_has_drop_name();
00190
00191 ::google::protobuf::UnknownFieldSet _unknown_fields_;
00192
00193 ::std::string* drop_name_;
00194 int operation_;
00195
00196 mutable int _cached_size_;
00197 ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
00198
00199 friend void protobuf_AddDesc_alter_5ftable_2eproto();
00200 friend void protobuf_AssignDesc_alter_5ftable_2eproto();
00201 friend void protobuf_ShutdownFile_alter_5ftable_2eproto();
00202
00203 void InitAsDefaultInstance();
00204 static AlterTable_AlterTableOperation* default_instance_;
00205 };
00206
00207
00208 class AlterTable_RenameTable : public ::google::protobuf::Message {
00209 public:
00210 AlterTable_RenameTable();
00211 virtual ~AlterTable_RenameTable();
00212
00213 AlterTable_RenameTable(const AlterTable_RenameTable& from);
00214
00215 inline AlterTable_RenameTable& operator=(const AlterTable_RenameTable& from) {
00216 CopyFrom(from);
00217 return *this;
00218 }
00219
00220 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00221 return _unknown_fields_;
00222 }
00223
00224 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00225 return &_unknown_fields_;
00226 }
00227
00228 static const ::google::protobuf::Descriptor* descriptor();
00229 static const AlterTable_RenameTable& default_instance();
00230
00231 void Swap(AlterTable_RenameTable* other);
00232
00233
00234
00235 AlterTable_RenameTable* New() const;
00236 void CopyFrom(const ::google::protobuf::Message& from);
00237 void MergeFrom(const ::google::protobuf::Message& from);
00238 void CopyFrom(const AlterTable_RenameTable& from);
00239 void MergeFrom(const AlterTable_RenameTable& from);
00240 void Clear();
00241 bool IsInitialized() const;
00242
00243 int ByteSize() const;
00244 bool MergePartialFromCodedStream(
00245 ::google::protobuf::io::CodedInputStream* input);
00246 void SerializeWithCachedSizes(
00247 ::google::protobuf::io::CodedOutputStream* output) const;
00248 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00249 int GetCachedSize() const { return _cached_size_; }
00250 private:
00251 void SharedCtor();
00252 void SharedDtor();
00253 void SetCachedSize(int size) const;
00254 public:
00255
00256 ::google::protobuf::Metadata GetMetadata() const;
00257
00258
00259
00260
00261
00262
00263 inline bool has_to_schema() const;
00264 inline void clear_to_schema();
00265 static const int kToSchemaFieldNumber = 1;
00266 inline const ::std::string& to_schema() const;
00267 inline void set_to_schema(const ::std::string& value);
00268 inline void set_to_schema(const char* value);
00269 inline void set_to_schema(const char* value, size_t size);
00270 inline ::std::string* mutable_to_schema();
00271 inline ::std::string* release_to_schema();
00272
00273
00274 inline bool has_to_name() const;
00275 inline void clear_to_name();
00276 static const int kToNameFieldNumber = 2;
00277 inline const ::std::string& to_name() const;
00278 inline void set_to_name(const ::std::string& value);
00279 inline void set_to_name(const char* value);
00280 inline void set_to_name(const char* value, size_t size);
00281 inline ::std::string* mutable_to_name();
00282 inline ::std::string* release_to_name();
00283
00284
00285 private:
00286 inline void set_has_to_schema();
00287 inline void clear_has_to_schema();
00288 inline void set_has_to_name();
00289 inline void clear_has_to_name();
00290
00291 ::google::protobuf::UnknownFieldSet _unknown_fields_;
00292
00293 ::std::string* to_schema_;
00294 ::std::string* to_name_;
00295
00296 mutable int _cached_size_;
00297 ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
00298
00299 friend void protobuf_AddDesc_alter_5ftable_2eproto();
00300 friend void protobuf_AssignDesc_alter_5ftable_2eproto();
00301 friend void protobuf_ShutdownFile_alter_5ftable_2eproto();
00302
00303 void InitAsDefaultInstance();
00304 static AlterTable_RenameTable* default_instance_;
00305 };
00306
00307
00308 class AlterTable_AlterKeysOnOff : public ::google::protobuf::Message {
00309 public:
00310 AlterTable_AlterKeysOnOff();
00311 virtual ~AlterTable_AlterKeysOnOff();
00312
00313 AlterTable_AlterKeysOnOff(const AlterTable_AlterKeysOnOff& from);
00314
00315 inline AlterTable_AlterKeysOnOff& operator=(const AlterTable_AlterKeysOnOff& from) {
00316 CopyFrom(from);
00317 return *this;
00318 }
00319
00320 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00321 return _unknown_fields_;
00322 }
00323
00324 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00325 return &_unknown_fields_;
00326 }
00327
00328 static const ::google::protobuf::Descriptor* descriptor();
00329 static const AlterTable_AlterKeysOnOff& default_instance();
00330
00331 void Swap(AlterTable_AlterKeysOnOff* other);
00332
00333
00334
00335 AlterTable_AlterKeysOnOff* New() const;
00336 void CopyFrom(const ::google::protobuf::Message& from);
00337 void MergeFrom(const ::google::protobuf::Message& from);
00338 void CopyFrom(const AlterTable_AlterKeysOnOff& from);
00339 void MergeFrom(const AlterTable_AlterKeysOnOff& from);
00340 void Clear();
00341 bool IsInitialized() const;
00342
00343 int ByteSize() const;
00344 bool MergePartialFromCodedStream(
00345 ::google::protobuf::io::CodedInputStream* input);
00346 void SerializeWithCachedSizes(
00347 ::google::protobuf::io::CodedOutputStream* output) const;
00348 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00349 int GetCachedSize() const { return _cached_size_; }
00350 private:
00351 void SharedCtor();
00352 void SharedDtor();
00353 void SetCachedSize(int size) const;
00354 public:
00355
00356 ::google::protobuf::Metadata GetMetadata() const;
00357
00358
00359
00360
00361
00362
00363 inline bool has_enable() const;
00364 inline void clear_enable();
00365 static const int kEnableFieldNumber = 1;
00366 inline bool enable() const;
00367 inline void set_enable(bool value);
00368
00369
00370 private:
00371 inline void set_has_enable();
00372 inline void clear_has_enable();
00373
00374 ::google::protobuf::UnknownFieldSet _unknown_fields_;
00375
00376 bool enable_;
00377
00378 mutable int _cached_size_;
00379 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
00380
00381 friend void protobuf_AddDesc_alter_5ftable_2eproto();
00382 friend void protobuf_AssignDesc_alter_5ftable_2eproto();
00383 friend void protobuf_ShutdownFile_alter_5ftable_2eproto();
00384
00385 void InitAsDefaultInstance();
00386 static AlterTable_AlterKeysOnOff* default_instance_;
00387 };
00388
00389
00390 class AlterTable : public ::google::protobuf::Message {
00391 public:
00392 AlterTable();
00393 virtual ~AlterTable();
00394
00395 AlterTable(const AlterTable& from);
00396
00397 inline AlterTable& operator=(const AlterTable& from) {
00398 CopyFrom(from);
00399 return *this;
00400 }
00401
00402 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00403 return _unknown_fields_;
00404 }
00405
00406 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00407 return &_unknown_fields_;
00408 }
00409
00410 static const ::google::protobuf::Descriptor* descriptor();
00411 static const AlterTable& default_instance();
00412
00413 void Swap(AlterTable* other);
00414
00415
00416
00417 AlterTable* New() const;
00418 void CopyFrom(const ::google::protobuf::Message& from);
00419 void MergeFrom(const ::google::protobuf::Message& from);
00420 void CopyFrom(const AlterTable& from);
00421 void MergeFrom(const AlterTable& from);
00422 void Clear();
00423 bool IsInitialized() const;
00424
00425 int ByteSize() const;
00426 bool MergePartialFromCodedStream(
00427 ::google::protobuf::io::CodedInputStream* input);
00428 void SerializeWithCachedSizes(
00429 ::google::protobuf::io::CodedOutputStream* output) const;
00430 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00431 int GetCachedSize() const { return _cached_size_; }
00432 private:
00433 void SharedCtor();
00434 void SharedDtor();
00435 void SetCachedSize(int size) const;
00436 public:
00437
00438 ::google::protobuf::Metadata GetMetadata() const;
00439
00440
00441
00442 typedef AlterTable_AlterTableOperation AlterTableOperation;
00443 typedef AlterTable_RenameTable RenameTable;
00444 typedef AlterTable_AlterKeysOnOff AlterKeysOnOff;
00445
00446 typedef AlterTable_BuildMethod BuildMethod;
00447 static const BuildMethod BUILD_DEFAULT = AlterTable_BuildMethod_BUILD_DEFAULT;
00448 static const BuildMethod BUILD_ONLINE = AlterTable_BuildMethod_BUILD_ONLINE;
00449 static const BuildMethod BUILD_OFFLINE = AlterTable_BuildMethod_BUILD_OFFLINE;
00450 static inline bool BuildMethod_IsValid(int value) {
00451 return AlterTable_BuildMethod_IsValid(value);
00452 }
00453 static const BuildMethod BuildMethod_MIN =
00454 AlterTable_BuildMethod_BuildMethod_MIN;
00455 static const BuildMethod BuildMethod_MAX =
00456 AlterTable_BuildMethod_BuildMethod_MAX;
00457 static const int BuildMethod_ARRAYSIZE =
00458 AlterTable_BuildMethod_BuildMethod_ARRAYSIZE;
00459 static inline const ::google::protobuf::EnumDescriptor*
00460 BuildMethod_descriptor() {
00461 return AlterTable_BuildMethod_descriptor();
00462 }
00463 static inline const ::std::string& BuildMethod_Name(BuildMethod value) {
00464 return AlterTable_BuildMethod_Name(value);
00465 }
00466 static inline bool BuildMethod_Parse(const ::std::string& name,
00467 BuildMethod* value) {
00468 return AlterTable_BuildMethod_Parse(name, value);
00469 }
00470
00471
00472
00473
00474 inline bool has_catalog() const;
00475 inline void clear_catalog();
00476 static const int kCatalogFieldNumber = 1;
00477 inline const ::std::string& catalog() const;
00478 inline void set_catalog(const ::std::string& value);
00479 inline void set_catalog(const char* value);
00480 inline void set_catalog(const char* value, size_t size);
00481 inline ::std::string* mutable_catalog();
00482 inline ::std::string* release_catalog();
00483
00484
00485 inline bool has_schema() const;
00486 inline void clear_schema();
00487 static const int kSchemaFieldNumber = 2;
00488 inline const ::std::string& schema() const;
00489 inline void set_schema(const ::std::string& value);
00490 inline void set_schema(const char* value);
00491 inline void set_schema(const char* value, size_t size);
00492 inline ::std::string* mutable_schema();
00493 inline ::std::string* release_schema();
00494
00495
00496 inline bool has_name() const;
00497 inline void clear_name();
00498 static const int kNameFieldNumber = 3;
00499 inline const ::std::string& name() const;
00500 inline void set_name(const ::std::string& value);
00501 inline void set_name(const char* value);
00502 inline void set_name(const char* value, size_t size);
00503 inline ::std::string* mutable_name();
00504 inline ::std::string* release_name();
00505
00506
00507 inline bool has_build_method() const;
00508 inline void clear_build_method();
00509 static const int kBuildMethodFieldNumber = 4;
00510 inline ::drizzled::message::AlterTable_BuildMethod build_method() const;
00511 inline void set_build_method(::drizzled::message::AlterTable_BuildMethod value);
00512
00513
00514 inline bool has_ignore() const;
00515 inline void clear_ignore();
00516 static const int kIgnoreFieldNumber = 5;
00517 inline bool ignore() const;
00518 inline void set_ignore(bool value);
00519
00520
00521 inline int operations_size() const;
00522 inline void clear_operations();
00523 static const int kOperationsFieldNumber = 6;
00524 inline const ::drizzled::message::AlterTable_AlterTableOperation& operations(int index) const;
00525 inline ::drizzled::message::AlterTable_AlterTableOperation* mutable_operations(int index);
00526 inline ::drizzled::message::AlterTable_AlterTableOperation* add_operations();
00527 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::AlterTable_AlterTableOperation >&
00528 operations() const;
00529 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::AlterTable_AlterTableOperation >*
00530 mutable_operations();
00531
00532
00533 inline bool has_rename() const;
00534 inline void clear_rename();
00535 static const int kRenameFieldNumber = 7;
00536 inline const ::drizzled::message::AlterTable_RenameTable& rename() const;
00537 inline ::drizzled::message::AlterTable_RenameTable* mutable_rename();
00538 inline ::drizzled::message::AlterTable_RenameTable* release_rename();
00539
00540
00541 inline bool has_alter_keys_onoff() const;
00542 inline void clear_alter_keys_onoff();
00543 static const int kAlterKeysOnoffFieldNumber = 8;
00544 inline const ::drizzled::message::AlterTable_AlterKeysOnOff& alter_keys_onoff() const;
00545 inline ::drizzled::message::AlterTable_AlterKeysOnOff* mutable_alter_keys_onoff();
00546 inline ::drizzled::message::AlterTable_AlterKeysOnOff* release_alter_keys_onoff();
00547
00548
00549 private:
00550 inline void set_has_catalog();
00551 inline void clear_has_catalog();
00552 inline void set_has_schema();
00553 inline void clear_has_schema();
00554 inline void set_has_name();
00555 inline void clear_has_name();
00556 inline void set_has_build_method();
00557 inline void clear_has_build_method();
00558 inline void set_has_ignore();
00559 inline void clear_has_ignore();
00560 inline void set_has_rename();
00561 inline void clear_has_rename();
00562 inline void set_has_alter_keys_onoff();
00563 inline void clear_has_alter_keys_onoff();
00564
00565 ::google::protobuf::UnknownFieldSet _unknown_fields_;
00566
00567 ::std::string* catalog_;
00568 ::std::string* schema_;
00569 ::std::string* name_;
00570 int build_method_;
00571 bool ignore_;
00572 ::google::protobuf::RepeatedPtrField< ::drizzled::message::AlterTable_AlterTableOperation > operations_;
00573 ::drizzled::message::AlterTable_RenameTable* rename_;
00574 ::drizzled::message::AlterTable_AlterKeysOnOff* alter_keys_onoff_;
00575
00576 mutable int _cached_size_;
00577 ::google::protobuf::uint32 _has_bits_[(8 + 31) / 32];
00578
00579 friend void protobuf_AddDesc_alter_5ftable_2eproto();
00580 friend void protobuf_AssignDesc_alter_5ftable_2eproto();
00581 friend void protobuf_ShutdownFile_alter_5ftable_2eproto();
00582
00583 void InitAsDefaultInstance();
00584 static AlterTable* default_instance_;
00585 };
00586
00587
00588
00589
00590
00591
00592
00593
00594 inline bool AlterTable_AlterTableOperation::has_operation() const {
00595 return (_has_bits_[0] & 0x00000001u) != 0;
00596 }
00597 inline void AlterTable_AlterTableOperation::set_has_operation() {
00598 _has_bits_[0] |= 0x00000001u;
00599 }
00600 inline void AlterTable_AlterTableOperation::clear_has_operation() {
00601 _has_bits_[0] &= ~0x00000001u;
00602 }
00603 inline void AlterTable_AlterTableOperation::clear_operation() {
00604 operation_ = 0;
00605 clear_has_operation();
00606 }
00607 inline ::drizzled::message::AlterTable_AlterTableOperation_Operation AlterTable_AlterTableOperation::operation() const {
00608 return static_cast< ::drizzled::message::AlterTable_AlterTableOperation_Operation >(operation_);
00609 }
00610 inline void AlterTable_AlterTableOperation::set_operation(::drizzled::message::AlterTable_AlterTableOperation_Operation value) {
00611 GOOGLE_DCHECK(::drizzled::message::AlterTable_AlterTableOperation_Operation_IsValid(value));
00612 set_has_operation();
00613 operation_ = value;
00614 }
00615
00616
00617 inline bool AlterTable_AlterTableOperation::has_drop_name() const {
00618 return (_has_bits_[0] & 0x00000002u) != 0;
00619 }
00620 inline void AlterTable_AlterTableOperation::set_has_drop_name() {
00621 _has_bits_[0] |= 0x00000002u;
00622 }
00623 inline void AlterTable_AlterTableOperation::clear_has_drop_name() {
00624 _has_bits_[0] &= ~0x00000002u;
00625 }
00626 inline void AlterTable_AlterTableOperation::clear_drop_name() {
00627 if (drop_name_ != &::google::protobuf::internal::kEmptyString) {
00628 drop_name_->clear();
00629 }
00630 clear_has_drop_name();
00631 }
00632 inline const ::std::string& AlterTable_AlterTableOperation::drop_name() const {
00633 return *drop_name_;
00634 }
00635 inline void AlterTable_AlterTableOperation::set_drop_name(const ::std::string& value) {
00636 set_has_drop_name();
00637 if (drop_name_ == &::google::protobuf::internal::kEmptyString) {
00638 drop_name_ = new ::std::string;
00639 }
00640 drop_name_->assign(value);
00641 }
00642 inline void AlterTable_AlterTableOperation::set_drop_name(const char* value) {
00643 set_has_drop_name();
00644 if (drop_name_ == &::google::protobuf::internal::kEmptyString) {
00645 drop_name_ = new ::std::string;
00646 }
00647 drop_name_->assign(value);
00648 }
00649 inline void AlterTable_AlterTableOperation::set_drop_name(const char* value, size_t size) {
00650 set_has_drop_name();
00651 if (drop_name_ == &::google::protobuf::internal::kEmptyString) {
00652 drop_name_ = new ::std::string;
00653 }
00654 drop_name_->assign(reinterpret_cast<const char*>(value), size);
00655 }
00656 inline ::std::string* AlterTable_AlterTableOperation::mutable_drop_name() {
00657 set_has_drop_name();
00658 if (drop_name_ == &::google::protobuf::internal::kEmptyString) {
00659 drop_name_ = new ::std::string;
00660 }
00661 return drop_name_;
00662 }
00663 inline ::std::string* AlterTable_AlterTableOperation::release_drop_name() {
00664 clear_has_drop_name();
00665 if (drop_name_ == &::google::protobuf::internal::kEmptyString) {
00666 return NULL;
00667 } else {
00668 ::std::string* temp = drop_name_;
00669 drop_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
00670 return temp;
00671 }
00672 }
00673
00674
00675
00676
00677
00678
00679 inline bool AlterTable_RenameTable::has_to_schema() const {
00680 return (_has_bits_[0] & 0x00000001u) != 0;
00681 }
00682 inline void AlterTable_RenameTable::set_has_to_schema() {
00683 _has_bits_[0] |= 0x00000001u;
00684 }
00685 inline void AlterTable_RenameTable::clear_has_to_schema() {
00686 _has_bits_[0] &= ~0x00000001u;
00687 }
00688 inline void AlterTable_RenameTable::clear_to_schema() {
00689 if (to_schema_ != &::google::protobuf::internal::kEmptyString) {
00690 to_schema_->clear();
00691 }
00692 clear_has_to_schema();
00693 }
00694 inline const ::std::string& AlterTable_RenameTable::to_schema() const {
00695 return *to_schema_;
00696 }
00697 inline void AlterTable_RenameTable::set_to_schema(const ::std::string& value) {
00698 set_has_to_schema();
00699 if (to_schema_ == &::google::protobuf::internal::kEmptyString) {
00700 to_schema_ = new ::std::string;
00701 }
00702 to_schema_->assign(value);
00703 }
00704 inline void AlterTable_RenameTable::set_to_schema(const char* value) {
00705 set_has_to_schema();
00706 if (to_schema_ == &::google::protobuf::internal::kEmptyString) {
00707 to_schema_ = new ::std::string;
00708 }
00709 to_schema_->assign(value);
00710 }
00711 inline void AlterTable_RenameTable::set_to_schema(const char* value, size_t size) {
00712 set_has_to_schema();
00713 if (to_schema_ == &::google::protobuf::internal::kEmptyString) {
00714 to_schema_ = new ::std::string;
00715 }
00716 to_schema_->assign(reinterpret_cast<const char*>(value), size);
00717 }
00718 inline ::std::string* AlterTable_RenameTable::mutable_to_schema() {
00719 set_has_to_schema();
00720 if (to_schema_ == &::google::protobuf::internal::kEmptyString) {
00721 to_schema_ = new ::std::string;
00722 }
00723 return to_schema_;
00724 }
00725 inline ::std::string* AlterTable_RenameTable::release_to_schema() {
00726 clear_has_to_schema();
00727 if (to_schema_ == &::google::protobuf::internal::kEmptyString) {
00728 return NULL;
00729 } else {
00730 ::std::string* temp = to_schema_;
00731 to_schema_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
00732 return temp;
00733 }
00734 }
00735
00736
00737 inline bool AlterTable_RenameTable::has_to_name() const {
00738 return (_has_bits_[0] & 0x00000002u) != 0;
00739 }
00740 inline void AlterTable_RenameTable::set_has_to_name() {
00741 _has_bits_[0] |= 0x00000002u;
00742 }
00743 inline void AlterTable_RenameTable::clear_has_to_name() {
00744 _has_bits_[0] &= ~0x00000002u;
00745 }
00746 inline void AlterTable_RenameTable::clear_to_name() {
00747 if (to_name_ != &::google::protobuf::internal::kEmptyString) {
00748 to_name_->clear();
00749 }
00750 clear_has_to_name();
00751 }
00752 inline const ::std::string& AlterTable_RenameTable::to_name() const {
00753 return *to_name_;
00754 }
00755 inline void AlterTable_RenameTable::set_to_name(const ::std::string& value) {
00756 set_has_to_name();
00757 if (to_name_ == &::google::protobuf::internal::kEmptyString) {
00758 to_name_ = new ::std::string;
00759 }
00760 to_name_->assign(value);
00761 }
00762 inline void AlterTable_RenameTable::set_to_name(const char* value) {
00763 set_has_to_name();
00764 if (to_name_ == &::google::protobuf::internal::kEmptyString) {
00765 to_name_ = new ::std::string;
00766 }
00767 to_name_->assign(value);
00768 }
00769 inline void AlterTable_RenameTable::set_to_name(const char* value, size_t size) {
00770 set_has_to_name();
00771 if (to_name_ == &::google::protobuf::internal::kEmptyString) {
00772 to_name_ = new ::std::string;
00773 }
00774 to_name_->assign(reinterpret_cast<const char*>(value), size);
00775 }
00776 inline ::std::string* AlterTable_RenameTable::mutable_to_name() {
00777 set_has_to_name();
00778 if (to_name_ == &::google::protobuf::internal::kEmptyString) {
00779 to_name_ = new ::std::string;
00780 }
00781 return to_name_;
00782 }
00783 inline ::std::string* AlterTable_RenameTable::release_to_name() {
00784 clear_has_to_name();
00785 if (to_name_ == &::google::protobuf::internal::kEmptyString) {
00786 return NULL;
00787 } else {
00788 ::std::string* temp = to_name_;
00789 to_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
00790 return temp;
00791 }
00792 }
00793
00794
00795
00796
00797
00798
00799 inline bool AlterTable_AlterKeysOnOff::has_enable() const {
00800 return (_has_bits_[0] & 0x00000001u) != 0;
00801 }
00802 inline void AlterTable_AlterKeysOnOff::set_has_enable() {
00803 _has_bits_[0] |= 0x00000001u;
00804 }
00805 inline void AlterTable_AlterKeysOnOff::clear_has_enable() {
00806 _has_bits_[0] &= ~0x00000001u;
00807 }
00808 inline void AlterTable_AlterKeysOnOff::clear_enable() {
00809 enable_ = false;
00810 clear_has_enable();
00811 }
00812 inline bool AlterTable_AlterKeysOnOff::enable() const {
00813 return enable_;
00814 }
00815 inline void AlterTable_AlterKeysOnOff::set_enable(bool value) {
00816 set_has_enable();
00817 enable_ = value;
00818 }
00819
00820
00821
00822
00823
00824
00825 inline bool AlterTable::has_catalog() const {
00826 return (_has_bits_[0] & 0x00000001u) != 0;
00827 }
00828 inline void AlterTable::set_has_catalog() {
00829 _has_bits_[0] |= 0x00000001u;
00830 }
00831 inline void AlterTable::clear_has_catalog() {
00832 _has_bits_[0] &= ~0x00000001u;
00833 }
00834 inline void AlterTable::clear_catalog() {
00835 if (catalog_ != &::google::protobuf::internal::kEmptyString) {
00836 catalog_->clear();
00837 }
00838 clear_has_catalog();
00839 }
00840 inline const ::std::string& AlterTable::catalog() const {
00841 return *catalog_;
00842 }
00843 inline void AlterTable::set_catalog(const ::std::string& value) {
00844 set_has_catalog();
00845 if (catalog_ == &::google::protobuf::internal::kEmptyString) {
00846 catalog_ = new ::std::string;
00847 }
00848 catalog_->assign(value);
00849 }
00850 inline void AlterTable::set_catalog(const char* value) {
00851 set_has_catalog();
00852 if (catalog_ == &::google::protobuf::internal::kEmptyString) {
00853 catalog_ = new ::std::string;
00854 }
00855 catalog_->assign(value);
00856 }
00857 inline void AlterTable::set_catalog(const char* value, size_t size) {
00858 set_has_catalog();
00859 if (catalog_ == &::google::protobuf::internal::kEmptyString) {
00860 catalog_ = new ::std::string;
00861 }
00862 catalog_->assign(reinterpret_cast<const char*>(value), size);
00863 }
00864 inline ::std::string* AlterTable::mutable_catalog() {
00865 set_has_catalog();
00866 if (catalog_ == &::google::protobuf::internal::kEmptyString) {
00867 catalog_ = new ::std::string;
00868 }
00869 return catalog_;
00870 }
00871 inline ::std::string* AlterTable::release_catalog() {
00872 clear_has_catalog();
00873 if (catalog_ == &::google::protobuf::internal::kEmptyString) {
00874 return NULL;
00875 } else {
00876 ::std::string* temp = catalog_;
00877 catalog_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
00878 return temp;
00879 }
00880 }
00881
00882
00883 inline bool AlterTable::has_schema() const {
00884 return (_has_bits_[0] & 0x00000002u) != 0;
00885 }
00886 inline void AlterTable::set_has_schema() {
00887 _has_bits_[0] |= 0x00000002u;
00888 }
00889 inline void AlterTable::clear_has_schema() {
00890 _has_bits_[0] &= ~0x00000002u;
00891 }
00892 inline void AlterTable::clear_schema() {
00893 if (schema_ != &::google::protobuf::internal::kEmptyString) {
00894 schema_->clear();
00895 }
00896 clear_has_schema();
00897 }
00898 inline const ::std::string& AlterTable::schema() const {
00899 return *schema_;
00900 }
00901 inline void AlterTable::set_schema(const ::std::string& value) {
00902 set_has_schema();
00903 if (schema_ == &::google::protobuf::internal::kEmptyString) {
00904 schema_ = new ::std::string;
00905 }
00906 schema_->assign(value);
00907 }
00908 inline void AlterTable::set_schema(const char* value) {
00909 set_has_schema();
00910 if (schema_ == &::google::protobuf::internal::kEmptyString) {
00911 schema_ = new ::std::string;
00912 }
00913 schema_->assign(value);
00914 }
00915 inline void AlterTable::set_schema(const char* value, size_t size) {
00916 set_has_schema();
00917 if (schema_ == &::google::protobuf::internal::kEmptyString) {
00918 schema_ = new ::std::string;
00919 }
00920 schema_->assign(reinterpret_cast<const char*>(value), size);
00921 }
00922 inline ::std::string* AlterTable::mutable_schema() {
00923 set_has_schema();
00924 if (schema_ == &::google::protobuf::internal::kEmptyString) {
00925 schema_ = new ::std::string;
00926 }
00927 return schema_;
00928 }
00929 inline ::std::string* AlterTable::release_schema() {
00930 clear_has_schema();
00931 if (schema_ == &::google::protobuf::internal::kEmptyString) {
00932 return NULL;
00933 } else {
00934 ::std::string* temp = schema_;
00935 schema_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
00936 return temp;
00937 }
00938 }
00939
00940
00941 inline bool AlterTable::has_name() const {
00942 return (_has_bits_[0] & 0x00000004u) != 0;
00943 }
00944 inline void AlterTable::set_has_name() {
00945 _has_bits_[0] |= 0x00000004u;
00946 }
00947 inline void AlterTable::clear_has_name() {
00948 _has_bits_[0] &= ~0x00000004u;
00949 }
00950 inline void AlterTable::clear_name() {
00951 if (name_ != &::google::protobuf::internal::kEmptyString) {
00952 name_->clear();
00953 }
00954 clear_has_name();
00955 }
00956 inline const ::std::string& AlterTable::name() const {
00957 return *name_;
00958 }
00959 inline void AlterTable::set_name(const ::std::string& value) {
00960 set_has_name();
00961 if (name_ == &::google::protobuf::internal::kEmptyString) {
00962 name_ = new ::std::string;
00963 }
00964 name_->assign(value);
00965 }
00966 inline void AlterTable::set_name(const char* value) {
00967 set_has_name();
00968 if (name_ == &::google::protobuf::internal::kEmptyString) {
00969 name_ = new ::std::string;
00970 }
00971 name_->assign(value);
00972 }
00973 inline void AlterTable::set_name(const char* value, size_t size) {
00974 set_has_name();
00975 if (name_ == &::google::protobuf::internal::kEmptyString) {
00976 name_ = new ::std::string;
00977 }
00978 name_->assign(reinterpret_cast<const char*>(value), size);
00979 }
00980 inline ::std::string* AlterTable::mutable_name() {
00981 set_has_name();
00982 if (name_ == &::google::protobuf::internal::kEmptyString) {
00983 name_ = new ::std::string;
00984 }
00985 return name_;
00986 }
00987 inline ::std::string* AlterTable::release_name() {
00988 clear_has_name();
00989 if (name_ == &::google::protobuf::internal::kEmptyString) {
00990 return NULL;
00991 } else {
00992 ::std::string* temp = name_;
00993 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
00994 return temp;
00995 }
00996 }
00997
00998
00999 inline bool AlterTable::has_build_method() const {
01000 return (_has_bits_[0] & 0x00000008u) != 0;
01001 }
01002 inline void AlterTable::set_has_build_method() {
01003 _has_bits_[0] |= 0x00000008u;
01004 }
01005 inline void AlterTable::clear_has_build_method() {
01006 _has_bits_[0] &= ~0x00000008u;
01007 }
01008 inline void AlterTable::clear_build_method() {
01009 build_method_ = 0;
01010 clear_has_build_method();
01011 }
01012 inline ::drizzled::message::AlterTable_BuildMethod AlterTable::build_method() const {
01013 return static_cast< ::drizzled::message::AlterTable_BuildMethod >(build_method_);
01014 }
01015 inline void AlterTable::set_build_method(::drizzled::message::AlterTable_BuildMethod value) {
01016 GOOGLE_DCHECK(::drizzled::message::AlterTable_BuildMethod_IsValid(value));
01017 set_has_build_method();
01018 build_method_ = value;
01019 }
01020
01021
01022 inline bool AlterTable::has_ignore() const {
01023 return (_has_bits_[0] & 0x00000010u) != 0;
01024 }
01025 inline void AlterTable::set_has_ignore() {
01026 _has_bits_[0] |= 0x00000010u;
01027 }
01028 inline void AlterTable::clear_has_ignore() {
01029 _has_bits_[0] &= ~0x00000010u;
01030 }
01031 inline void AlterTable::clear_ignore() {
01032 ignore_ = false;
01033 clear_has_ignore();
01034 }
01035 inline bool AlterTable::ignore() const {
01036 return ignore_;
01037 }
01038 inline void AlterTable::set_ignore(bool value) {
01039 set_has_ignore();
01040 ignore_ = value;
01041 }
01042
01043
01044 inline int AlterTable::operations_size() const {
01045 return operations_.size();
01046 }
01047 inline void AlterTable::clear_operations() {
01048 operations_.Clear();
01049 }
01050 inline const ::drizzled::message::AlterTable_AlterTableOperation& AlterTable::operations(int index) const {
01051 return operations_.Get(index);
01052 }
01053 inline ::drizzled::message::AlterTable_AlterTableOperation* AlterTable::mutable_operations(int index) {
01054 return operations_.Mutable(index);
01055 }
01056 inline ::drizzled::message::AlterTable_AlterTableOperation* AlterTable::add_operations() {
01057 return operations_.Add();
01058 }
01059 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::AlterTable_AlterTableOperation >&
01060 AlterTable::operations() const {
01061 return operations_;
01062 }
01063 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::AlterTable_AlterTableOperation >*
01064 AlterTable::mutable_operations() {
01065 return &operations_;
01066 }
01067
01068
01069 inline bool AlterTable::has_rename() const {
01070 return (_has_bits_[0] & 0x00000040u) != 0;
01071 }
01072 inline void AlterTable::set_has_rename() {
01073 _has_bits_[0] |= 0x00000040u;
01074 }
01075 inline void AlterTable::clear_has_rename() {
01076 _has_bits_[0] &= ~0x00000040u;
01077 }
01078 inline void AlterTable::clear_rename() {
01079 if (rename_ != NULL) rename_->::drizzled::message::AlterTable_RenameTable::Clear();
01080 clear_has_rename();
01081 }
01082 inline const ::drizzled::message::AlterTable_RenameTable& AlterTable::rename() const {
01083 return rename_ != NULL ? *rename_ : *default_instance_->rename_;
01084 }
01085 inline ::drizzled::message::AlterTable_RenameTable* AlterTable::mutable_rename() {
01086 set_has_rename();
01087 if (rename_ == NULL) rename_ = new ::drizzled::message::AlterTable_RenameTable;
01088 return rename_;
01089 }
01090 inline ::drizzled::message::AlterTable_RenameTable* AlterTable::release_rename() {
01091 clear_has_rename();
01092 ::drizzled::message::AlterTable_RenameTable* temp = rename_;
01093 rename_ = NULL;
01094 return temp;
01095 }
01096
01097
01098 inline bool AlterTable::has_alter_keys_onoff() const {
01099 return (_has_bits_[0] & 0x00000080u) != 0;
01100 }
01101 inline void AlterTable::set_has_alter_keys_onoff() {
01102 _has_bits_[0] |= 0x00000080u;
01103 }
01104 inline void AlterTable::clear_has_alter_keys_onoff() {
01105 _has_bits_[0] &= ~0x00000080u;
01106 }
01107 inline void AlterTable::clear_alter_keys_onoff() {
01108 if (alter_keys_onoff_ != NULL) alter_keys_onoff_->::drizzled::message::AlterTable_AlterKeysOnOff::Clear();
01109 clear_has_alter_keys_onoff();
01110 }
01111 inline const ::drizzled::message::AlterTable_AlterKeysOnOff& AlterTable::alter_keys_onoff() const {
01112 return alter_keys_onoff_ != NULL ? *alter_keys_onoff_ : *default_instance_->alter_keys_onoff_;
01113 }
01114 inline ::drizzled::message::AlterTable_AlterKeysOnOff* AlterTable::mutable_alter_keys_onoff() {
01115 set_has_alter_keys_onoff();
01116 if (alter_keys_onoff_ == NULL) alter_keys_onoff_ = new ::drizzled::message::AlterTable_AlterKeysOnOff;
01117 return alter_keys_onoff_;
01118 }
01119 inline ::drizzled::message::AlterTable_AlterKeysOnOff* AlterTable::release_alter_keys_onoff() {
01120 clear_has_alter_keys_onoff();
01121 ::drizzled::message::AlterTable_AlterKeysOnOff* temp = alter_keys_onoff_;
01122 alter_keys_onoff_ = NULL;
01123 return temp;
01124 }
01125
01126
01127
01128
01129 }
01130 }
01131
01132 #ifndef SWIG
01133 namespace google {
01134 namespace protobuf {
01135
01136 template <>
01137 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::AlterTable_AlterTableOperation_Operation>() {
01138 return ::drizzled::message::AlterTable_AlterTableOperation_Operation_descriptor();
01139 }
01140 template <>
01141 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::AlterTable_BuildMethod>() {
01142 return ::drizzled::message::AlterTable_BuildMethod_descriptor();
01143 }
01144
01145 }
01146 }
01147 #endif // SWIG
01148
01149
01150
01151 #endif // PROTOBUF_alter_5ftable_2eproto__INCLUDED