Drizzled Public API Documentation

replication_options.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: replication_options.proto
3 
4 #ifndef PROTOBUF_replication_5foptions_2eproto__INCLUDED
5 #define PROTOBUF_replication_5foptions_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 2006000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/generated_message_util.h>
23 #include <google/protobuf/message.h>
24 #include <google/protobuf/repeated_field.h>
25 #include <google/protobuf/extension_set.h>
26 #include <google/protobuf/unknown_field_set.h>
27 // @@protoc_insertion_point(includes)
28 
29 namespace drizzled {
30 namespace message {
31 
32 // Internal implementation detail -- do not call these.
33 void protobuf_AddDesc_replication_5foptions_2eproto();
34 void protobuf_AssignDesc_replication_5foptions_2eproto();
35 void protobuf_ShutdownFile_replication_5foptions_2eproto();
36 
37 class ReplicationOptions;
38 
39 // ===================================================================
40 
41 class ReplicationOptions : public ::google::protobuf::Message {
42  public:
44  virtual ~ReplicationOptions();
45 
47 
48  inline ReplicationOptions& operator=(const ReplicationOptions& from) {
49  CopyFrom(from);
50  return *this;
51  }
52 
53  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
54  return _unknown_fields_;
55  }
56 
57  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
58  return &_unknown_fields_;
59  }
60 
61  static const ::google::protobuf::Descriptor* descriptor();
62  static const ReplicationOptions& default_instance();
63 
64  void Swap(ReplicationOptions* other);
65 
66  // implements Message ----------------------------------------------
67 
68  ReplicationOptions* New() const;
69  void CopyFrom(const ::google::protobuf::Message& from);
70  void MergeFrom(const ::google::protobuf::Message& from);
71  void CopyFrom(const ReplicationOptions& from);
72  void MergeFrom(const ReplicationOptions& from);
73  void Clear();
74  bool IsInitialized() const;
75 
76  int ByteSize() const;
77  bool MergePartialFromCodedStream(
78  ::google::protobuf::io::CodedInputStream* input);
79  void SerializeWithCachedSizes(
80  ::google::protobuf::io::CodedOutputStream* output) const;
81  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
82  int GetCachedSize() const { return _cached_size_; }
83  private:
84  void SharedCtor();
85  void SharedDtor();
86  void SetCachedSize(int size) const;
87  public:
88  ::google::protobuf::Metadata GetMetadata() const;
89 
90  // nested types ----------------------------------------------------
91 
92  // accessors -------------------------------------------------------
93 
94  // optional bool is_replicated = 2;
95  inline bool has_is_replicated() const;
96  inline void clear_is_replicated();
97  static const int kIsReplicatedFieldNumber = 2;
98  inline bool is_replicated() const;
99  inline void set_is_replicated(bool value);
100 
101  // @@protoc_insertion_point(class_scope:drizzled.message.ReplicationOptions)
102  private:
103  inline void set_has_is_replicated();
104  inline void clear_has_is_replicated();
105 
106  ::google::protobuf::UnknownFieldSet _unknown_fields_;
107 
108  ::google::protobuf::uint32 _has_bits_[1];
109  mutable int _cached_size_;
110  bool is_replicated_;
111  friend void protobuf_AddDesc_replication_5foptions_2eproto();
112  friend void protobuf_AssignDesc_replication_5foptions_2eproto();
113  friend void protobuf_ShutdownFile_replication_5foptions_2eproto();
114 
115  void InitAsDefaultInstance();
116  static ReplicationOptions* default_instance_;
117 };
118 // ===================================================================
119 
120 
121 // ===================================================================
122 
123 // ReplicationOptions
124 
125 // optional bool is_replicated = 2;
126 inline bool ReplicationOptions::has_is_replicated() const {
127  return (_has_bits_[0] & 0x00000001u) != 0;
128 }
129 inline void ReplicationOptions::set_has_is_replicated() {
130  _has_bits_[0] |= 0x00000001u;
131 }
132 inline void ReplicationOptions::clear_has_is_replicated() {
133  _has_bits_[0] &= ~0x00000001u;
134 }
135 inline void ReplicationOptions::clear_is_replicated() {
136  is_replicated_ = false;
137  clear_has_is_replicated();
138 }
139 inline bool ReplicationOptions::is_replicated() const {
140  // @@protoc_insertion_point(field_get:drizzled.message.ReplicationOptions.is_replicated)
141  return is_replicated_;
142 }
143 inline void ReplicationOptions::set_is_replicated(bool value) {
144  set_has_is_replicated();
145  is_replicated_ = value;
146  // @@protoc_insertion_point(field_set:drizzled.message.ReplicationOptions.is_replicated)
147 }
148 
149 
150 // @@protoc_insertion_point(namespace_scope)
151 
152 } // namespace message
153 } // namespace drizzled
154 
155 #ifndef SWIG
156 namespace google {
157 namespace protobuf {
158 
159 
160 } // namespace google
161 } // namespace protobuf
162 #endif // SWIG
163 
164 // @@protoc_insertion_point(global_scope)
165 
166 #endif // PROTOBUF_replication_5foptions_2eproto__INCLUDED
TODO: Rename this file - func.h is stupid.