Drizzled Public API Documentation

replication_options.pb.h

00001 // Generated by the protocol buffer compiler.  DO NOT EDIT!
00002 // source: replication_options.proto
00003 
00004 #ifndef PROTOBUF_replication_5foptions_2eproto__INCLUDED
00005 #define PROTOBUF_replication_5foptions_2eproto__INCLUDED
00006 
00007 #include <string>
00008 
00009 #include <google/protobuf/stubs/common.h>
00010 
00011 #if GOOGLE_PROTOBUF_VERSION < 2003000
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 2003000 < 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 // @@protoc_insertion_point(includes)
00027 
00028 namespace drizzled {
00029 namespace message {
00030 
00031 // Internal implementation detail -- do not call these.
00032 void  protobuf_AddDesc_replication_5foptions_2eproto();
00033 void protobuf_AssignDesc_replication_5foptions_2eproto();
00034 void protobuf_ShutdownFile_replication_5foptions_2eproto();
00035 
00036 class ReplicationOptions;
00037 
00038 // ===================================================================
00039 
00040 class ReplicationOptions : public ::google::protobuf::Message {
00041  public:
00042   ReplicationOptions();
00043   virtual ~ReplicationOptions();
00044   
00045   ReplicationOptions(const ReplicationOptions& from);
00046   
00047   inline ReplicationOptions& operator=(const ReplicationOptions& from) {
00048     CopyFrom(from);
00049     return *this;
00050   }
00051   
00052   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00053     return _unknown_fields_;
00054   }
00055   
00056   inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00057     return &_unknown_fields_;
00058   }
00059   
00060   static const ::google::protobuf::Descriptor* descriptor();
00061   static const ReplicationOptions& default_instance();
00062   
00063   void Swap(ReplicationOptions* other);
00064   
00065   // implements Message ----------------------------------------------
00066   
00067   ReplicationOptions* New() const;
00068   void CopyFrom(const ::google::protobuf::Message& from);
00069   void MergeFrom(const ::google::protobuf::Message& from);
00070   void CopyFrom(const ReplicationOptions& from);
00071   void MergeFrom(const ReplicationOptions& from);
00072   void Clear();
00073   bool IsInitialized() const;
00074   
00075   int ByteSize() const;
00076   bool MergePartialFromCodedStream(
00077       ::google::protobuf::io::CodedInputStream* input);
00078   void SerializeWithCachedSizes(
00079       ::google::protobuf::io::CodedOutputStream* output) const;
00080   ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00081   int GetCachedSize() const { return _cached_size_; }
00082   private:
00083   void SharedCtor();
00084   void SharedDtor();
00085   void SetCachedSize(int size) const;
00086   public:
00087   
00088   ::google::protobuf::Metadata GetMetadata() const;
00089   
00090   // nested types ----------------------------------------------------
00091   
00092   // accessors -------------------------------------------------------
00093   
00094   // optional bool is_replicated = 2;
00095   inline bool has_is_replicated() const;
00096   inline void clear_is_replicated();
00097   static const int kIsReplicatedFieldNumber = 2;
00098   inline bool is_replicated() const;
00099   inline void set_is_replicated(bool value);
00100   
00101   // @@protoc_insertion_point(class_scope:drizzled.message.ReplicationOptions)
00102  private:
00103   ::google::protobuf::UnknownFieldSet _unknown_fields_;
00104   mutable int _cached_size_;
00105   
00106   bool is_replicated_;
00107   friend void  protobuf_AddDesc_replication_5foptions_2eproto();
00108   friend void protobuf_AssignDesc_replication_5foptions_2eproto();
00109   friend void protobuf_ShutdownFile_replication_5foptions_2eproto();
00110   
00111   ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
00112   
00113   // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
00114   inline bool _has_bit(int index) const {
00115     return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
00116   }
00117   inline void _set_bit(int index) {
00118     _has_bits_[index / 32] |= (1u << (index % 32));
00119   }
00120   inline void _clear_bit(int index) {
00121     _has_bits_[index / 32] &= ~(1u << (index % 32));
00122   }
00123   
00124   void InitAsDefaultInstance();
00125   static ReplicationOptions* default_instance_;
00126 };
00127 // ===================================================================
00128 
00129 
00130 // ===================================================================
00131 
00132 // ReplicationOptions
00133 
00134 // optional bool is_replicated = 2;
00135 inline bool ReplicationOptions::has_is_replicated() const {
00136   return _has_bit(0);
00137 }
00138 inline void ReplicationOptions::clear_is_replicated() {
00139   is_replicated_ = false;
00140   _clear_bit(0);
00141 }
00142 inline bool ReplicationOptions::is_replicated() const {
00143   return is_replicated_;
00144 }
00145 inline void ReplicationOptions::set_is_replicated(bool value) {
00146   _set_bit(0);
00147   is_replicated_ = value;
00148 }
00149 
00150 
00151 // @@protoc_insertion_point(namespace_scope)
00152 
00153 }  // namespace message
00154 }  // namespace drizzled
00155 
00156 #ifndef SWIG
00157 namespace google {
00158 namespace protobuf {
00159 
00160 
00161 }  // namespace google
00162 }  // namespace protobuf
00163 #endif  // SWIG
00164 
00165 // @@protoc_insertion_point(global_scope)
00166 
00167 #endif  // PROTOBUF_replication_5foptions_2eproto__INCLUDED