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 < 2004000
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 2004001 < 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/repeated_field.h>
24 #include <google/protobuf/extension_set.h>
25 #include <google/protobuf/generated_message_reflection.h>
26 // @@protoc_insertion_point(includes)
27 
28 namespace drizzled {
29 namespace message {
30 
31 // Internal implementation detail -- do not call these.
32 void protobuf_AddDesc_access_2eproto();
33 void protobuf_AssignDesc_access_2eproto();
34 void protobuf_ShutdownFile_access_2eproto();
35 
36 class Access;
37 
38 // ===================================================================
39 
40 class Access : public ::google::protobuf::Message {
41  public:
42  Access();
43  virtual ~Access();
44 
45  Access(const Access& from);
46 
47  inline Access& operator=(const Access& from) {
48  CopyFrom(from);
49  return *this;
50  }
51 
52  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
53  return _unknown_fields_;
54  }
55 
56  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
57  return &_unknown_fields_;
58  }
59 
60  static const ::google::protobuf::Descriptor* descriptor();
61  static const Access& default_instance();
62 
63  void Swap(Access* other);
64 
65  // implements Message ----------------------------------------------
66 
67  Access* New() const;
68  void CopyFrom(const ::google::protobuf::Message& from);
69  void MergeFrom(const ::google::protobuf::Message& from);
70  void CopyFrom(const Access& from);
71  void MergeFrom(const Access& from);
72  void Clear();
73  bool IsInitialized() const;
74 
75  int ByteSize() const;
76  bool MergePartialFromCodedStream(
77  ::google::protobuf::io::CodedInputStream* input);
78  void SerializeWithCachedSizes(
79  ::google::protobuf::io::CodedOutputStream* output) const;
80  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
81  int GetCachedSize() const { return _cached_size_; }
82  private:
83  void SharedCtor();
84  void SharedDtor();
85  void SetCachedSize(int size) const;
86  public:
87 
88  ::google::protobuf::Metadata GetMetadata() const;
89 
90  // nested types ----------------------------------------------------
91 
92  // accessors -------------------------------------------------------
93 
94  // optional string definer = 1;
95  inline bool has_definer() const;
96  inline void clear_definer();
97  static const int kDefinerFieldNumber = 1;
98  inline const ::std::string& definer() const;
99  inline void set_definer(const ::std::string& value);
100  inline void set_definer(const char* value);
101  inline void set_definer(const char* value, size_t size);
102  inline ::std::string* mutable_definer();
103  inline ::std::string* release_definer();
104 
105  // optional string invoker = 2;
106  inline bool has_invoker() const;
107  inline void clear_invoker();
108  static const int kInvokerFieldNumber = 2;
109  inline const ::std::string& invoker() const;
110  inline void set_invoker(const ::std::string& value);
111  inline void set_invoker(const char* value);
112  inline void set_invoker(const char* value, size_t size);
113  inline ::std::string* mutable_invoker();
114  inline ::std::string* release_invoker();
115 
116  // @@protoc_insertion_point(class_scope:drizzled.message.Access)
117  private:
118  inline void set_has_definer();
119  inline void clear_has_definer();
120  inline void set_has_invoker();
121  inline void clear_has_invoker();
122 
123  ::google::protobuf::UnknownFieldSet _unknown_fields_;
124 
125  ::std::string* definer_;
126  ::std::string* invoker_;
127 
128  mutable int _cached_size_;
129  ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
130 
131  friend void protobuf_AddDesc_access_2eproto();
132  friend void protobuf_AssignDesc_access_2eproto();
133  friend void protobuf_ShutdownFile_access_2eproto();
134 
135  void InitAsDefaultInstance();
136  static Access* default_instance_;
137 };
138 // ===================================================================
139 
140 
141 // ===================================================================
142 
143 // Access
144 
145 // optional string definer = 1;
146 inline bool Access::has_definer() const {
147  return (_has_bits_[0] & 0x00000001u) != 0;
148 }
149 inline void Access::set_has_definer() {
150  _has_bits_[0] |= 0x00000001u;
151 }
152 inline void Access::clear_has_definer() {
153  _has_bits_[0] &= ~0x00000001u;
154 }
155 inline void Access::clear_definer() {
156  if (definer_ != &::google::protobuf::internal::kEmptyString) {
157  definer_->clear();
158  }
159  clear_has_definer();
160 }
161 inline const ::std::string& Access::definer() const {
162  return *definer_;
163 }
164 inline void Access::set_definer(const ::std::string& value) {
165  set_has_definer();
166  if (definer_ == &::google::protobuf::internal::kEmptyString) {
167  definer_ = new ::std::string;
168  }
169  definer_->assign(value);
170 }
171 inline void Access::set_definer(const char* value) {
172  set_has_definer();
173  if (definer_ == &::google::protobuf::internal::kEmptyString) {
174  definer_ = new ::std::string;
175  }
176  definer_->assign(value);
177 }
178 inline void Access::set_definer(const char* value, size_t size) {
179  set_has_definer();
180  if (definer_ == &::google::protobuf::internal::kEmptyString) {
181  definer_ = new ::std::string;
182  }
183  definer_->assign(reinterpret_cast<const char*>(value), size);
184 }
185 inline ::std::string* Access::mutable_definer() {
186  set_has_definer();
187  if (definer_ == &::google::protobuf::internal::kEmptyString) {
188  definer_ = new ::std::string;
189  }
190  return definer_;
191 }
192 inline ::std::string* Access::release_definer() {
193  clear_has_definer();
194  if (definer_ == &::google::protobuf::internal::kEmptyString) {
195  return NULL;
196  } else {
197  ::std::string* temp = definer_;
198  definer_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
199  return temp;
200  }
201 }
202 
203 // optional string invoker = 2;
204 inline bool Access::has_invoker() const {
205  return (_has_bits_[0] & 0x00000002u) != 0;
206 }
207 inline void Access::set_has_invoker() {
208  _has_bits_[0] |= 0x00000002u;
209 }
210 inline void Access::clear_has_invoker() {
211  _has_bits_[0] &= ~0x00000002u;
212 }
213 inline void Access::clear_invoker() {
214  if (invoker_ != &::google::protobuf::internal::kEmptyString) {
215  invoker_->clear();
216  }
217  clear_has_invoker();
218 }
219 inline const ::std::string& Access::invoker() const {
220  return *invoker_;
221 }
222 inline void Access::set_invoker(const ::std::string& value) {
223  set_has_invoker();
224  if (invoker_ == &::google::protobuf::internal::kEmptyString) {
225  invoker_ = new ::std::string;
226  }
227  invoker_->assign(value);
228 }
229 inline void Access::set_invoker(const char* value) {
230  set_has_invoker();
231  if (invoker_ == &::google::protobuf::internal::kEmptyString) {
232  invoker_ = new ::std::string;
233  }
234  invoker_->assign(value);
235 }
236 inline void Access::set_invoker(const char* value, size_t size) {
237  set_has_invoker();
238  if (invoker_ == &::google::protobuf::internal::kEmptyString) {
239  invoker_ = new ::std::string;
240  }
241  invoker_->assign(reinterpret_cast<const char*>(value), size);
242 }
243 inline ::std::string* Access::mutable_invoker() {
244  set_has_invoker();
245  if (invoker_ == &::google::protobuf::internal::kEmptyString) {
246  invoker_ = new ::std::string;
247  }
248  return invoker_;
249 }
250 inline ::std::string* Access::release_invoker() {
251  clear_has_invoker();
252  if (invoker_ == &::google::protobuf::internal::kEmptyString) {
253  return NULL;
254  } else {
255  ::std::string* temp = invoker_;
256  invoker_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
257  return temp;
258  }
259 }
260 
261 
262 // @@protoc_insertion_point(namespace_scope)
263 
264 } // namespace message
265 } // namespace drizzled
266 
267 #ifndef SWIG
268 namespace google {
269 namespace protobuf {
270 
271 
272 } // namespace google
273 } // namespace protobuf
274 #endif // SWIG
275 
276 // @@protoc_insertion_point(global_scope)
277 
278 #endif // PROTOBUF_access_2eproto__INCLUDED