Drizzled Public API Documentation

access.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: access.proto
3 
4 #ifndef PROTOBUF_access_2eproto__INCLUDED
5 #define PROTOBUF_access_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 2005000
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 2005000 < 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_access_2eproto();
34 void protobuf_AssignDesc_access_2eproto();
35 void protobuf_ShutdownFile_access_2eproto();
36 
37 class Access;
38 
39 // ===================================================================
40 
41 class Access : public ::google::protobuf::Message {
42  public:
43  Access();
44  virtual ~Access();
45 
46  Access(const Access& from);
47 
48  inline Access& operator=(const Access& 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 Access& default_instance();
63 
64  void Swap(Access* other);
65 
66  // implements Message ----------------------------------------------
67 
68  Access* New() const;
69  void CopyFrom(const ::google::protobuf::Message& from);
70  void MergeFrom(const ::google::protobuf::Message& from);
71  void CopyFrom(const Access& from);
72  void MergeFrom(const Access& 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 
89  ::google::protobuf::Metadata GetMetadata() const;
90 
91  // nested types ----------------------------------------------------
92 
93  // accessors -------------------------------------------------------
94 
95  // optional string definer = 1;
96  inline bool has_definer() const;
97  inline void clear_definer();
98  static const int kDefinerFieldNumber = 1;
99  inline const ::std::string& definer() const;
100  inline void set_definer(const ::std::string& value);
101  inline void set_definer(const char* value);
102  inline void set_definer(const char* value, size_t size);
103  inline ::std::string* mutable_definer();
104  inline ::std::string* release_definer();
105  inline void set_allocated_definer(::std::string* definer);
106 
107  // optional string invoker = 2;
108  inline bool has_invoker() const;
109  inline void clear_invoker();
110  static const int kInvokerFieldNumber = 2;
111  inline const ::std::string& invoker() const;
112  inline void set_invoker(const ::std::string& value);
113  inline void set_invoker(const char* value);
114  inline void set_invoker(const char* value, size_t size);
115  inline ::std::string* mutable_invoker();
116  inline ::std::string* release_invoker();
117  inline void set_allocated_invoker(::std::string* invoker);
118 
119  // @@protoc_insertion_point(class_scope:drizzled.message.Access)
120  private:
121  inline void set_has_definer();
122  inline void clear_has_definer();
123  inline void set_has_invoker();
124  inline void clear_has_invoker();
125 
126  ::google::protobuf::UnknownFieldSet _unknown_fields_;
127 
128  ::std::string* definer_;
129  ::std::string* invoker_;
130 
131  mutable int _cached_size_;
132  ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
133 
134  friend void protobuf_AddDesc_access_2eproto();
135  friend void protobuf_AssignDesc_access_2eproto();
136  friend void protobuf_ShutdownFile_access_2eproto();
137 
138  void InitAsDefaultInstance();
139  static Access* default_instance_;
140 };
141 // ===================================================================
142 
143 
144 // ===================================================================
145 
146 // Access
147 
148 // optional string definer = 1;
149 inline bool Access::has_definer() const {
150  return (_has_bits_[0] & 0x00000001u) != 0;
151 }
152 inline void Access::set_has_definer() {
153  _has_bits_[0] |= 0x00000001u;
154 }
155 inline void Access::clear_has_definer() {
156  _has_bits_[0] &= ~0x00000001u;
157 }
158 inline void Access::clear_definer() {
159  if (definer_ != &::google::protobuf::internal::kEmptyString) {
160  definer_->clear();
161  }
162  clear_has_definer();
163 }
164 inline const ::std::string& Access::definer() const {
165  return *definer_;
166 }
167 inline void Access::set_definer(const ::std::string& value) {
168  set_has_definer();
169  if (definer_ == &::google::protobuf::internal::kEmptyString) {
170  definer_ = new ::std::string;
171  }
172  definer_->assign(value);
173 }
174 inline void Access::set_definer(const char* value) {
175  set_has_definer();
176  if (definer_ == &::google::protobuf::internal::kEmptyString) {
177  definer_ = new ::std::string;
178  }
179  definer_->assign(value);
180 }
181 inline void Access::set_definer(const char* value, size_t size) {
182  set_has_definer();
183  if (definer_ == &::google::protobuf::internal::kEmptyString) {
184  definer_ = new ::std::string;
185  }
186  definer_->assign(reinterpret_cast<const char*>(value), size);
187 }
188 inline ::std::string* Access::mutable_definer() {
189  set_has_definer();
190  if (definer_ == &::google::protobuf::internal::kEmptyString) {
191  definer_ = new ::std::string;
192  }
193  return definer_;
194 }
195 inline ::std::string* Access::release_definer() {
196  clear_has_definer();
197  if (definer_ == &::google::protobuf::internal::kEmptyString) {
198  return NULL;
199  } else {
200  ::std::string* temp = definer_;
201  definer_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
202  return temp;
203  }
204 }
205 inline void Access::set_allocated_definer(::std::string* definer) {
206  if (definer_ != &::google::protobuf::internal::kEmptyString) {
207  delete definer_;
208  }
209  if (definer) {
210  set_has_definer();
211  definer_ = definer;
212  } else {
213  clear_has_definer();
214  definer_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
215  }
216 }
217 
218 // optional string invoker = 2;
219 inline bool Access::has_invoker() const {
220  return (_has_bits_[0] & 0x00000002u) != 0;
221 }
222 inline void Access::set_has_invoker() {
223  _has_bits_[0] |= 0x00000002u;
224 }
225 inline void Access::clear_has_invoker() {
226  _has_bits_[0] &= ~0x00000002u;
227 }
228 inline void Access::clear_invoker() {
229  if (invoker_ != &::google::protobuf::internal::kEmptyString) {
230  invoker_->clear();
231  }
232  clear_has_invoker();
233 }
234 inline const ::std::string& Access::invoker() const {
235  return *invoker_;
236 }
237 inline void Access::set_invoker(const ::std::string& value) {
238  set_has_invoker();
239  if (invoker_ == &::google::protobuf::internal::kEmptyString) {
240  invoker_ = new ::std::string;
241  }
242  invoker_->assign(value);
243 }
244 inline void Access::set_invoker(const char* value) {
245  set_has_invoker();
246  if (invoker_ == &::google::protobuf::internal::kEmptyString) {
247  invoker_ = new ::std::string;
248  }
249  invoker_->assign(value);
250 }
251 inline void Access::set_invoker(const char* value, size_t size) {
252  set_has_invoker();
253  if (invoker_ == &::google::protobuf::internal::kEmptyString) {
254  invoker_ = new ::std::string;
255  }
256  invoker_->assign(reinterpret_cast<const char*>(value), size);
257 }
258 inline ::std::string* Access::mutable_invoker() {
259  set_has_invoker();
260  if (invoker_ == &::google::protobuf::internal::kEmptyString) {
261  invoker_ = new ::std::string;
262  }
263  return invoker_;
264 }
265 inline ::std::string* Access::release_invoker() {
266  clear_has_invoker();
267  if (invoker_ == &::google::protobuf::internal::kEmptyString) {
268  return NULL;
269  } else {
270  ::std::string* temp = invoker_;
271  invoker_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
272  return temp;
273  }
274 }
275 inline void Access::set_allocated_invoker(::std::string* invoker) {
276  if (invoker_ != &::google::protobuf::internal::kEmptyString) {
277  delete invoker_;
278  }
279  if (invoker) {
280  set_has_invoker();
281  invoker_ = invoker;
282  } else {
283  clear_has_invoker();
284  invoker_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
285  }
286 }
287 
288 
289 // @@protoc_insertion_point(namespace_scope)
290 
291 } // namespace message
292 } // namespace drizzled
293 
294 #ifndef SWIG
295 namespace google {
296 namespace protobuf {
297 
298 
299 } // namespace google
300 } // namespace protobuf
301 #endif // SWIG
302 
303 // @@protoc_insertion_point(global_scope)
304 
305 #endif // PROTOBUF_access_2eproto__INCLUDED