00001
00002
00003
00004 #ifndef PROTOBUF_schema_2eproto__INCLUDED
00005 #define PROTOBUF_schema_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_schema_2eproto();
00036 void protobuf_AssignDesc_schema_2eproto();
00037 void protobuf_ShutdownFile_schema_2eproto();
00038
00039 class Schema;
00040 class Schema_Options;
00041
00042
00043
00044 class Schema_Options : public ::google::protobuf::Message {
00045 public:
00046 Schema_Options();
00047 virtual ~Schema_Options();
00048
00049 Schema_Options(const Schema_Options& from);
00050
00051 inline Schema_Options& operator=(const Schema_Options& from) {
00052 CopyFrom(from);
00053 return *this;
00054 }
00055
00056 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00057 return _unknown_fields_;
00058 }
00059
00060 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00061 return &_unknown_fields_;
00062 }
00063
00064 static const ::google::protobuf::Descriptor* descriptor();
00065 static const Schema_Options& default_instance();
00066
00067 void Swap(Schema_Options* other);
00068
00069
00070
00071 Schema_Options* New() const;
00072 void CopyFrom(const ::google::protobuf::Message& from);
00073 void MergeFrom(const ::google::protobuf::Message& from);
00074 void CopyFrom(const Schema_Options& from);
00075 void MergeFrom(const Schema_Options& from);
00076 void Clear();
00077 bool IsInitialized() const;
00078
00079 int ByteSize() const;
00080 bool MergePartialFromCodedStream(
00081 ::google::protobuf::io::CodedInputStream* input);
00082 void SerializeWithCachedSizes(
00083 ::google::protobuf::io::CodedOutputStream* output) const;
00084 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00085 int GetCachedSize() const { return _cached_size_; }
00086 private:
00087 void SharedCtor();
00088 void SharedDtor();
00089 void SetCachedSize(int size) const;
00090 public:
00091
00092 ::google::protobuf::Metadata GetMetadata() const;
00093
00094
00095
00096
00097
00098
00099 private:
00100
00101 ::google::protobuf::UnknownFieldSet _unknown_fields_;
00102
00103
00104 mutable int _cached_size_;
00105 ::google::protobuf::uint32 _has_bits_[1];
00106
00107 friend void protobuf_AddDesc_schema_2eproto();
00108 friend void protobuf_AssignDesc_schema_2eproto();
00109 friend void protobuf_ShutdownFile_schema_2eproto();
00110
00111 void InitAsDefaultInstance();
00112 static Schema_Options* default_instance_;
00113 };
00114
00115
00116 class Schema : public ::google::protobuf::Message {
00117 public:
00118 Schema();
00119 virtual ~Schema();
00120
00121 Schema(const Schema& from);
00122
00123 inline Schema& operator=(const Schema& from) {
00124 CopyFrom(from);
00125 return *this;
00126 }
00127
00128 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00129 return _unknown_fields_;
00130 }
00131
00132 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00133 return &_unknown_fields_;
00134 }
00135
00136 static const ::google::protobuf::Descriptor* descriptor();
00137 static const Schema& default_instance();
00138
00139 void Swap(Schema* other);
00140
00141
00142
00143 Schema* New() const;
00144 void CopyFrom(const ::google::protobuf::Message& from);
00145 void MergeFrom(const ::google::protobuf::Message& from);
00146 void CopyFrom(const Schema& from);
00147 void MergeFrom(const Schema& from);
00148 void Clear();
00149 bool IsInitialized() const;
00150
00151 int ByteSize() const;
00152 bool MergePartialFromCodedStream(
00153 ::google::protobuf::io::CodedInputStream* input);
00154 void SerializeWithCachedSizes(
00155 ::google::protobuf::io::CodedOutputStream* output) const;
00156 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00157 int GetCachedSize() const { return _cached_size_; }
00158 private:
00159 void SharedCtor();
00160 void SharedDtor();
00161 void SetCachedSize(int size) const;
00162 public:
00163
00164 ::google::protobuf::Metadata GetMetadata() const;
00165
00166
00167
00168 typedef Schema_Options Options;
00169
00170
00171
00172
00173 inline bool has_name() const;
00174 inline void clear_name();
00175 static const int kNameFieldNumber = 1;
00176 inline const ::std::string& name() const;
00177 inline void set_name(const ::std::string& value);
00178 inline void set_name(const char* value);
00179 inline void set_name(const char* value, size_t size);
00180 inline ::std::string* mutable_name();
00181 inline ::std::string* release_name();
00182
00183
00184 inline bool has_collation() const;
00185 inline void clear_collation();
00186 static const int kCollationFieldNumber = 2;
00187 inline const ::std::string& collation() const;
00188 inline void set_collation(const ::std::string& value);
00189 inline void set_collation(const char* value);
00190 inline void set_collation(const char* value, size_t size);
00191 inline ::std::string* mutable_collation();
00192 inline ::std::string* release_collation();
00193
00194
00195 inline bool has_engine() const;
00196 inline void clear_engine();
00197 static const int kEngineFieldNumber = 3;
00198 inline const ::drizzled::message::Engine& engine() const;
00199 inline ::drizzled::message::Engine* mutable_engine();
00200 inline ::drizzled::message::Engine* release_engine();
00201
00202
00203 inline bool has_catalog() const;
00204 inline void clear_catalog();
00205 static const int kCatalogFieldNumber = 4;
00206 inline const ::std::string& catalog() const;
00207 inline void set_catalog(const ::std::string& value);
00208 inline void set_catalog(const char* value);
00209 inline void set_catalog(const char* value, size_t size);
00210 inline ::std::string* mutable_catalog();
00211 inline ::std::string* release_catalog();
00212
00213
00214 inline bool has_creation_timestamp() const;
00215 inline void clear_creation_timestamp();
00216 static const int kCreationTimestampFieldNumber = 11;
00217 inline ::google::protobuf::uint64 creation_timestamp() const;
00218 inline void set_creation_timestamp(::google::protobuf::uint64 value);
00219
00220
00221 inline bool has_update_timestamp() const;
00222 inline void clear_update_timestamp();
00223 static const int kUpdateTimestampFieldNumber = 12;
00224 inline ::google::protobuf::uint64 update_timestamp() const;
00225 inline void set_update_timestamp(::google::protobuf::uint64 value);
00226
00227
00228 inline bool has_uuid() const;
00229 inline void clear_uuid();
00230 static const int kUuidFieldNumber = 13;
00231 inline const ::std::string& uuid() const;
00232 inline void set_uuid(const ::std::string& value);
00233 inline void set_uuid(const char* value);
00234 inline void set_uuid(const char* value, size_t size);
00235 inline ::std::string* mutable_uuid();
00236 inline ::std::string* release_uuid();
00237
00238
00239 inline bool has_version() const;
00240 inline void clear_version();
00241 static const int kVersionFieldNumber = 14;
00242 inline ::google::protobuf::uint64 version() const;
00243 inline void set_version(::google::protobuf::uint64 value);
00244
00245
00246 inline bool has_options() const;
00247 inline void clear_options();
00248 static const int kOptionsFieldNumber = 15;
00249 inline const ::drizzled::message::Schema_Options& options() const;
00250 inline ::drizzled::message::Schema_Options* mutable_options();
00251 inline ::drizzled::message::Schema_Options* release_options();
00252
00253
00254 inline bool has_replication_options() const;
00255 inline void clear_replication_options();
00256 static const int kReplicationOptionsFieldNumber = 16;
00257 inline const ::drizzled::message::ReplicationOptions& replication_options() const;
00258 inline ::drizzled::message::ReplicationOptions* mutable_replication_options();
00259 inline ::drizzled::message::ReplicationOptions* release_replication_options();
00260
00261
00262 inline bool has_access() const;
00263 inline void clear_access();
00264 static const int kAccessFieldNumber = 17;
00265 inline const ::drizzled::message::Access& access() const;
00266 inline ::drizzled::message::Access* mutable_access();
00267 inline ::drizzled::message::Access* release_access();
00268
00269
00270 private:
00271 inline void set_has_name();
00272 inline void clear_has_name();
00273 inline void set_has_collation();
00274 inline void clear_has_collation();
00275 inline void set_has_engine();
00276 inline void clear_has_engine();
00277 inline void set_has_catalog();
00278 inline void clear_has_catalog();
00279 inline void set_has_creation_timestamp();
00280 inline void clear_has_creation_timestamp();
00281 inline void set_has_update_timestamp();
00282 inline void clear_has_update_timestamp();
00283 inline void set_has_uuid();
00284 inline void clear_has_uuid();
00285 inline void set_has_version();
00286 inline void clear_has_version();
00287 inline void set_has_options();
00288 inline void clear_has_options();
00289 inline void set_has_replication_options();
00290 inline void clear_has_replication_options();
00291 inline void set_has_access();
00292 inline void clear_has_access();
00293
00294 ::google::protobuf::UnknownFieldSet _unknown_fields_;
00295
00296 ::std::string* name_;
00297 ::std::string* collation_;
00298 ::drizzled::message::Engine* engine_;
00299 ::std::string* catalog_;
00300 ::google::protobuf::uint64 creation_timestamp_;
00301 ::google::protobuf::uint64 update_timestamp_;
00302 ::std::string* uuid_;
00303 ::google::protobuf::uint64 version_;
00304 ::drizzled::message::Schema_Options* options_;
00305 ::drizzled::message::ReplicationOptions* replication_options_;
00306 ::drizzled::message::Access* access_;
00307
00308 mutable int _cached_size_;
00309 ::google::protobuf::uint32 _has_bits_[(11 + 31) / 32];
00310
00311 friend void protobuf_AddDesc_schema_2eproto();
00312 friend void protobuf_AssignDesc_schema_2eproto();
00313 friend void protobuf_ShutdownFile_schema_2eproto();
00314
00315 void InitAsDefaultInstance();
00316 static Schema* default_instance_;
00317 };
00318
00319
00320
00321
00322
00323
00324
00325
00326
00327
00328
00329
00330 inline bool Schema::has_name() const {
00331 return (_has_bits_[0] & 0x00000001u) != 0;
00332 }
00333 inline void Schema::set_has_name() {
00334 _has_bits_[0] |= 0x00000001u;
00335 }
00336 inline void Schema::clear_has_name() {
00337 _has_bits_[0] &= ~0x00000001u;
00338 }
00339 inline void Schema::clear_name() {
00340 if (name_ != &::google::protobuf::internal::kEmptyString) {
00341 name_->clear();
00342 }
00343 clear_has_name();
00344 }
00345 inline const ::std::string& Schema::name() const {
00346 return *name_;
00347 }
00348 inline void Schema::set_name(const ::std::string& value) {
00349 set_has_name();
00350 if (name_ == &::google::protobuf::internal::kEmptyString) {
00351 name_ = new ::std::string;
00352 }
00353 name_->assign(value);
00354 }
00355 inline void Schema::set_name(const char* value) {
00356 set_has_name();
00357 if (name_ == &::google::protobuf::internal::kEmptyString) {
00358 name_ = new ::std::string;
00359 }
00360 name_->assign(value);
00361 }
00362 inline void Schema::set_name(const char* value, size_t size) {
00363 set_has_name();
00364 if (name_ == &::google::protobuf::internal::kEmptyString) {
00365 name_ = new ::std::string;
00366 }
00367 name_->assign(reinterpret_cast<const char*>(value), size);
00368 }
00369 inline ::std::string* Schema::mutable_name() {
00370 set_has_name();
00371 if (name_ == &::google::protobuf::internal::kEmptyString) {
00372 name_ = new ::std::string;
00373 }
00374 return name_;
00375 }
00376 inline ::std::string* Schema::release_name() {
00377 clear_has_name();
00378 if (name_ == &::google::protobuf::internal::kEmptyString) {
00379 return NULL;
00380 } else {
00381 ::std::string* temp = name_;
00382 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
00383 return temp;
00384 }
00385 }
00386
00387
00388 inline bool Schema::has_collation() const {
00389 return (_has_bits_[0] & 0x00000002u) != 0;
00390 }
00391 inline void Schema::set_has_collation() {
00392 _has_bits_[0] |= 0x00000002u;
00393 }
00394 inline void Schema::clear_has_collation() {
00395 _has_bits_[0] &= ~0x00000002u;
00396 }
00397 inline void Schema::clear_collation() {
00398 if (collation_ != &::google::protobuf::internal::kEmptyString) {
00399 collation_->clear();
00400 }
00401 clear_has_collation();
00402 }
00403 inline const ::std::string& Schema::collation() const {
00404 return *collation_;
00405 }
00406 inline void Schema::set_collation(const ::std::string& value) {
00407 set_has_collation();
00408 if (collation_ == &::google::protobuf::internal::kEmptyString) {
00409 collation_ = new ::std::string;
00410 }
00411 collation_->assign(value);
00412 }
00413 inline void Schema::set_collation(const char* value) {
00414 set_has_collation();
00415 if (collation_ == &::google::protobuf::internal::kEmptyString) {
00416 collation_ = new ::std::string;
00417 }
00418 collation_->assign(value);
00419 }
00420 inline void Schema::set_collation(const char* value, size_t size) {
00421 set_has_collation();
00422 if (collation_ == &::google::protobuf::internal::kEmptyString) {
00423 collation_ = new ::std::string;
00424 }
00425 collation_->assign(reinterpret_cast<const char*>(value), size);
00426 }
00427 inline ::std::string* Schema::mutable_collation() {
00428 set_has_collation();
00429 if (collation_ == &::google::protobuf::internal::kEmptyString) {
00430 collation_ = new ::std::string;
00431 }
00432 return collation_;
00433 }
00434 inline ::std::string* Schema::release_collation() {
00435 clear_has_collation();
00436 if (collation_ == &::google::protobuf::internal::kEmptyString) {
00437 return NULL;
00438 } else {
00439 ::std::string* temp = collation_;
00440 collation_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
00441 return temp;
00442 }
00443 }
00444
00445
00446 inline bool Schema::has_engine() const {
00447 return (_has_bits_[0] & 0x00000004u) != 0;
00448 }
00449 inline void Schema::set_has_engine() {
00450 _has_bits_[0] |= 0x00000004u;
00451 }
00452 inline void Schema::clear_has_engine() {
00453 _has_bits_[0] &= ~0x00000004u;
00454 }
00455 inline void Schema::clear_engine() {
00456 if (engine_ != NULL) engine_->::drizzled::message::Engine::Clear();
00457 clear_has_engine();
00458 }
00459 inline const ::drizzled::message::Engine& Schema::engine() const {
00460 return engine_ != NULL ? *engine_ : *default_instance_->engine_;
00461 }
00462 inline ::drizzled::message::Engine* Schema::mutable_engine() {
00463 set_has_engine();
00464 if (engine_ == NULL) engine_ = new ::drizzled::message::Engine;
00465 return engine_;
00466 }
00467 inline ::drizzled::message::Engine* Schema::release_engine() {
00468 clear_has_engine();
00469 ::drizzled::message::Engine* temp = engine_;
00470 engine_ = NULL;
00471 return temp;
00472 }
00473
00474
00475 inline bool Schema::has_catalog() const {
00476 return (_has_bits_[0] & 0x00000008u) != 0;
00477 }
00478 inline void Schema::set_has_catalog() {
00479 _has_bits_[0] |= 0x00000008u;
00480 }
00481 inline void Schema::clear_has_catalog() {
00482 _has_bits_[0] &= ~0x00000008u;
00483 }
00484 inline void Schema::clear_catalog() {
00485 if (catalog_ != &::google::protobuf::internal::kEmptyString) {
00486 catalog_->clear();
00487 }
00488 clear_has_catalog();
00489 }
00490 inline const ::std::string& Schema::catalog() const {
00491 return *catalog_;
00492 }
00493 inline void Schema::set_catalog(const ::std::string& value) {
00494 set_has_catalog();
00495 if (catalog_ == &::google::protobuf::internal::kEmptyString) {
00496 catalog_ = new ::std::string;
00497 }
00498 catalog_->assign(value);
00499 }
00500 inline void Schema::set_catalog(const char* value) {
00501 set_has_catalog();
00502 if (catalog_ == &::google::protobuf::internal::kEmptyString) {
00503 catalog_ = new ::std::string;
00504 }
00505 catalog_->assign(value);
00506 }
00507 inline void Schema::set_catalog(const char* value, size_t size) {
00508 set_has_catalog();
00509 if (catalog_ == &::google::protobuf::internal::kEmptyString) {
00510 catalog_ = new ::std::string;
00511 }
00512 catalog_->assign(reinterpret_cast<const char*>(value), size);
00513 }
00514 inline ::std::string* Schema::mutable_catalog() {
00515 set_has_catalog();
00516 if (catalog_ == &::google::protobuf::internal::kEmptyString) {
00517 catalog_ = new ::std::string;
00518 }
00519 return catalog_;
00520 }
00521 inline ::std::string* Schema::release_catalog() {
00522 clear_has_catalog();
00523 if (catalog_ == &::google::protobuf::internal::kEmptyString) {
00524 return NULL;
00525 } else {
00526 ::std::string* temp = catalog_;
00527 catalog_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
00528 return temp;
00529 }
00530 }
00531
00532
00533 inline bool Schema::has_creation_timestamp() const {
00534 return (_has_bits_[0] & 0x00000010u) != 0;
00535 }
00536 inline void Schema::set_has_creation_timestamp() {
00537 _has_bits_[0] |= 0x00000010u;
00538 }
00539 inline void Schema::clear_has_creation_timestamp() {
00540 _has_bits_[0] &= ~0x00000010u;
00541 }
00542 inline void Schema::clear_creation_timestamp() {
00543 creation_timestamp_ = GOOGLE_ULONGLONG(0);
00544 clear_has_creation_timestamp();
00545 }
00546 inline ::google::protobuf::uint64 Schema::creation_timestamp() const {
00547 return creation_timestamp_;
00548 }
00549 inline void Schema::set_creation_timestamp(::google::protobuf::uint64 value) {
00550 set_has_creation_timestamp();
00551 creation_timestamp_ = value;
00552 }
00553
00554
00555 inline bool Schema::has_update_timestamp() const {
00556 return (_has_bits_[0] & 0x00000020u) != 0;
00557 }
00558 inline void Schema::set_has_update_timestamp() {
00559 _has_bits_[0] |= 0x00000020u;
00560 }
00561 inline void Schema::clear_has_update_timestamp() {
00562 _has_bits_[0] &= ~0x00000020u;
00563 }
00564 inline void Schema::clear_update_timestamp() {
00565 update_timestamp_ = GOOGLE_ULONGLONG(0);
00566 clear_has_update_timestamp();
00567 }
00568 inline ::google::protobuf::uint64 Schema::update_timestamp() const {
00569 return update_timestamp_;
00570 }
00571 inline void Schema::set_update_timestamp(::google::protobuf::uint64 value) {
00572 set_has_update_timestamp();
00573 update_timestamp_ = value;
00574 }
00575
00576
00577 inline bool Schema::has_uuid() const {
00578 return (_has_bits_[0] & 0x00000040u) != 0;
00579 }
00580 inline void Schema::set_has_uuid() {
00581 _has_bits_[0] |= 0x00000040u;
00582 }
00583 inline void Schema::clear_has_uuid() {
00584 _has_bits_[0] &= ~0x00000040u;
00585 }
00586 inline void Schema::clear_uuid() {
00587 if (uuid_ != &::google::protobuf::internal::kEmptyString) {
00588 uuid_->clear();
00589 }
00590 clear_has_uuid();
00591 }
00592 inline const ::std::string& Schema::uuid() const {
00593 return *uuid_;
00594 }
00595 inline void Schema::set_uuid(const ::std::string& value) {
00596 set_has_uuid();
00597 if (uuid_ == &::google::protobuf::internal::kEmptyString) {
00598 uuid_ = new ::std::string;
00599 }
00600 uuid_->assign(value);
00601 }
00602 inline void Schema::set_uuid(const char* value) {
00603 set_has_uuid();
00604 if (uuid_ == &::google::protobuf::internal::kEmptyString) {
00605 uuid_ = new ::std::string;
00606 }
00607 uuid_->assign(value);
00608 }
00609 inline void Schema::set_uuid(const char* value, size_t size) {
00610 set_has_uuid();
00611 if (uuid_ == &::google::protobuf::internal::kEmptyString) {
00612 uuid_ = new ::std::string;
00613 }
00614 uuid_->assign(reinterpret_cast<const char*>(value), size);
00615 }
00616 inline ::std::string* Schema::mutable_uuid() {
00617 set_has_uuid();
00618 if (uuid_ == &::google::protobuf::internal::kEmptyString) {
00619 uuid_ = new ::std::string;
00620 }
00621 return uuid_;
00622 }
00623 inline ::std::string* Schema::release_uuid() {
00624 clear_has_uuid();
00625 if (uuid_ == &::google::protobuf::internal::kEmptyString) {
00626 return NULL;
00627 } else {
00628 ::std::string* temp = uuid_;
00629 uuid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
00630 return temp;
00631 }
00632 }
00633
00634
00635 inline bool Schema::has_version() const {
00636 return (_has_bits_[0] & 0x00000080u) != 0;
00637 }
00638 inline void Schema::set_has_version() {
00639 _has_bits_[0] |= 0x00000080u;
00640 }
00641 inline void Schema::clear_has_version() {
00642 _has_bits_[0] &= ~0x00000080u;
00643 }
00644 inline void Schema::clear_version() {
00645 version_ = GOOGLE_ULONGLONG(0);
00646 clear_has_version();
00647 }
00648 inline ::google::protobuf::uint64 Schema::version() const {
00649 return version_;
00650 }
00651 inline void Schema::set_version(::google::protobuf::uint64 value) {
00652 set_has_version();
00653 version_ = value;
00654 }
00655
00656
00657 inline bool Schema::has_options() const {
00658 return (_has_bits_[0] & 0x00000100u) != 0;
00659 }
00660 inline void Schema::set_has_options() {
00661 _has_bits_[0] |= 0x00000100u;
00662 }
00663 inline void Schema::clear_has_options() {
00664 _has_bits_[0] &= ~0x00000100u;
00665 }
00666 inline void Schema::clear_options() {
00667 if (options_ != NULL) options_->::drizzled::message::Schema_Options::Clear();
00668 clear_has_options();
00669 }
00670 inline const ::drizzled::message::Schema_Options& Schema::options() const {
00671 return options_ != NULL ? *options_ : *default_instance_->options_;
00672 }
00673 inline ::drizzled::message::Schema_Options* Schema::mutable_options() {
00674 set_has_options();
00675 if (options_ == NULL) options_ = new ::drizzled::message::Schema_Options;
00676 return options_;
00677 }
00678 inline ::drizzled::message::Schema_Options* Schema::release_options() {
00679 clear_has_options();
00680 ::drizzled::message::Schema_Options* temp = options_;
00681 options_ = NULL;
00682 return temp;
00683 }
00684
00685
00686 inline bool Schema::has_replication_options() const {
00687 return (_has_bits_[0] & 0x00000200u) != 0;
00688 }
00689 inline void Schema::set_has_replication_options() {
00690 _has_bits_[0] |= 0x00000200u;
00691 }
00692 inline void Schema::clear_has_replication_options() {
00693 _has_bits_[0] &= ~0x00000200u;
00694 }
00695 inline void Schema::clear_replication_options() {
00696 if (replication_options_ != NULL) replication_options_->::drizzled::message::ReplicationOptions::Clear();
00697 clear_has_replication_options();
00698 }
00699 inline const ::drizzled::message::ReplicationOptions& Schema::replication_options() const {
00700 return replication_options_ != NULL ? *replication_options_ : *default_instance_->replication_options_;
00701 }
00702 inline ::drizzled::message::ReplicationOptions* Schema::mutable_replication_options() {
00703 set_has_replication_options();
00704 if (replication_options_ == NULL) replication_options_ = new ::drizzled::message::ReplicationOptions;
00705 return replication_options_;
00706 }
00707 inline ::drizzled::message::ReplicationOptions* Schema::release_replication_options() {
00708 clear_has_replication_options();
00709 ::drizzled::message::ReplicationOptions* temp = replication_options_;
00710 replication_options_ = NULL;
00711 return temp;
00712 }
00713
00714
00715 inline bool Schema::has_access() const {
00716 return (_has_bits_[0] & 0x00000400u) != 0;
00717 }
00718 inline void Schema::set_has_access() {
00719 _has_bits_[0] |= 0x00000400u;
00720 }
00721 inline void Schema::clear_has_access() {
00722 _has_bits_[0] &= ~0x00000400u;
00723 }
00724 inline void Schema::clear_access() {
00725 if (access_ != NULL) access_->::drizzled::message::Access::Clear();
00726 clear_has_access();
00727 }
00728 inline const ::drizzled::message::Access& Schema::access() const {
00729 return access_ != NULL ? *access_ : *default_instance_->access_;
00730 }
00731 inline ::drizzled::message::Access* Schema::mutable_access() {
00732 set_has_access();
00733 if (access_ == NULL) access_ = new ::drizzled::message::Access;
00734 return access_;
00735 }
00736 inline ::drizzled::message::Access* Schema::release_access() {
00737 clear_has_access();
00738 ::drizzled::message::Access* temp = access_;
00739 access_ = NULL;
00740 return temp;
00741 }
00742
00743
00744
00745
00746 }
00747 }
00748
00749 #ifndef SWIG
00750 namespace google {
00751 namespace protobuf {
00752
00753
00754 }
00755 }
00756 #endif // SWIG
00757
00758
00759
00760 #endif // PROTOBUF_schema_2eproto__INCLUDED