OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
kv.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: kv.proto
3 
4 #ifndef PROTOBUF_kv_2eproto__INCLUDED
5 #define PROTOBUF_kv_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3005000
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 3005001 < 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/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/metadata.h>
28 #include <google/protobuf/message.h>
29 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
30 #include <google/protobuf/extension_set.h> // IWYU pragma: export
31 #include <google/protobuf/generated_enum_reflection.h>
32 #include <google/protobuf/unknown_field_set.h>
33 // @@protoc_insertion_point(includes)
34 
35 namespace protobuf_kv_2eproto {
36 // Internal implementation detail -- do not use these members.
37 struct TableStruct {
38  static const ::google::protobuf::internal::ParseTableField entries[];
39  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
40  static const ::google::protobuf::internal::ParseTable schema[2];
41  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
42  static const ::google::protobuf::internal::SerializationTable serialization_table[];
43  static const ::google::protobuf::uint32 offsets[];
44 };
45 void AddDescriptors();
49 void InitDefaultsEvent();
50 inline void InitDefaults() {
53 }
54 } // namespace protobuf_kv_2eproto
55 namespace mvccpb {
56 class Event;
59 class KeyValue;
62 } // namespace mvccpb
63 namespace mvccpb {
64 
70 };
71 bool Event_EventType_IsValid(int value);
75 
76 const ::google::protobuf::EnumDescriptor* Event_EventType_descriptor();
77 inline const ::std::string& Event_EventType_Name(Event_EventType value) {
78  return ::google::protobuf::internal::NameOfEnum(
80 }
82  const ::std::string& name, Event_EventType* value) {
83  return ::google::protobuf::internal::ParseNamedEnum<Event_EventType>(
84  Event_EventType_descriptor(), name, value);
85 }
86 // ===================================================================
87 
88 class KeyValue : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mvccpb.KeyValue) */ {
89  public:
90  KeyValue();
91  virtual ~KeyValue();
92 
93  KeyValue(const KeyValue& from);
94 
95  inline KeyValue& operator=(const KeyValue& from) {
96  CopyFrom(from);
97  return *this;
98  }
99  #if LANG_CXX11
100  KeyValue(KeyValue&& from) noexcept
101  : KeyValue() {
102  *this = ::std::move(from);
103  }
104 
105  inline KeyValue& operator=(KeyValue&& from) noexcept {
106  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
107  if (this != &from) InternalSwap(&from);
108  } else {
109  CopyFrom(from);
110  }
111  return *this;
112  }
113  #endif
114  static const ::google::protobuf::Descriptor* descriptor();
115  static const KeyValue& default_instance();
116 
117  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
118  static inline const KeyValue* internal_default_instance() {
119  return reinterpret_cast<const KeyValue*>(
121  }
122  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
123  0;
124 
125  void Swap(KeyValue* other);
126  friend void swap(KeyValue& a, KeyValue& b) {
127  a.Swap(&b);
128  }
129 
130  // implements Message ----------------------------------------------
131 
132  inline KeyValue* New() const PROTOBUF_FINAL { return New(NULL); }
133 
134  KeyValue* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
135  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
136  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
137  void CopyFrom(const KeyValue& from);
138  void MergeFrom(const KeyValue& from);
139  void Clear() PROTOBUF_FINAL;
140  bool IsInitialized() const PROTOBUF_FINAL;
141 
142  size_t ByteSizeLong() const PROTOBUF_FINAL;
144  ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
146  ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
147  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
148  bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
149  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
150  private:
151  void SharedCtor();
152  void SharedDtor();
153  void SetCachedSize(int size) const PROTOBUF_FINAL;
154  void InternalSwap(KeyValue* other);
155  private:
156  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
157  return NULL;
158  }
159  inline void* MaybeArenaPtr() const {
160  return NULL;
161  }
162  public:
163 
164  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
165 
166  // nested types ----------------------------------------------------
167 
168  // accessors -------------------------------------------------------
169 
170  // bytes key = 1;
171  void clear_key();
172  static const int kKeyFieldNumber = 1;
173  const ::std::string& key() const;
174  void set_key(const ::std::string& value);
175  #if LANG_CXX11
176  void set_key(::std::string&& value);
177  #endif
178  void set_key(const char* value);
179  void set_key(const void* value, size_t size);
180  ::std::string* mutable_key();
181  ::std::string* release_key();
182  void set_allocated_key(::std::string* key);
183 
184  // bytes value = 5;
185  void clear_value();
186  static const int kValueFieldNumber = 5;
187  const ::std::string& value() const;
188  void set_value(const ::std::string& value);
189  #if LANG_CXX11
190  void set_value(::std::string&& value);
191  #endif
192  void set_value(const char* value);
193  void set_value(const void* value, size_t size);
194  ::std::string* mutable_value();
195  ::std::string* release_value();
196  void set_allocated_value(::std::string* value);
197 
198  // int64 create_revision = 2;
199  void clear_create_revision();
200  static const int kCreateRevisionFieldNumber = 2;
201  ::google::protobuf::int64 create_revision() const;
202  void set_create_revision(::google::protobuf::int64 value);
203 
204  // int64 mod_revision = 3;
205  void clear_mod_revision();
206  static const int kModRevisionFieldNumber = 3;
207  ::google::protobuf::int64 mod_revision() const;
208  void set_mod_revision(::google::protobuf::int64 value);
209 
210  // int64 version = 4;
211  void clear_version();
212  static const int kVersionFieldNumber = 4;
213  ::google::protobuf::int64 version() const;
214  void set_version(::google::protobuf::int64 value);
215 
216  // int64 lease = 6;
217  void clear_lease();
218  static const int kLeaseFieldNumber = 6;
219  ::google::protobuf::int64 lease() const;
220  void set_lease(::google::protobuf::int64 value);
221 
222  // @@protoc_insertion_point(class_scope:mvccpb.KeyValue)
223  private:
224 
225  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
226  ::google::protobuf::internal::ArenaStringPtr key_;
227  ::google::protobuf::internal::ArenaStringPtr value_;
228  ::google::protobuf::int64 create_revision_;
229  ::google::protobuf::int64 mod_revision_;
230  ::google::protobuf::int64 version_;
231  ::google::protobuf::int64 lease_;
232  mutable int _cached_size_;
233  friend struct ::protobuf_kv_2eproto::TableStruct;
235 };
236 // -------------------------------------------------------------------
237 
238 class Event : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mvccpb.Event) */ {
239  public:
240  Event();
241  virtual ~Event();
242 
243  Event(const Event& from);
244 
245  inline Event& operator=(const Event& from) {
246  CopyFrom(from);
247  return *this;
248  }
249  #if LANG_CXX11
250  Event(Event&& from) noexcept
251  : Event() {
252  *this = ::std::move(from);
253  }
254 
255  inline Event& operator=(Event&& from) noexcept {
256  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
257  if (this != &from) InternalSwap(&from);
258  } else {
259  CopyFrom(from);
260  }
261  return *this;
262  }
263  #endif
264  static const ::google::protobuf::Descriptor* descriptor();
265  static const Event& default_instance();
266 
267  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
268  static inline const Event* internal_default_instance() {
269  return reinterpret_cast<const Event*>(
271  }
272  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
273  1;
274 
275  void Swap(Event* other);
276  friend void swap(Event& a, Event& b) {
277  a.Swap(&b);
278  }
279 
280  // implements Message ----------------------------------------------
281 
282  inline Event* New() const PROTOBUF_FINAL { return New(NULL); }
283 
284  Event* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
285  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
286  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
287  void CopyFrom(const Event& from);
288  void MergeFrom(const Event& from);
289  void Clear() PROTOBUF_FINAL;
290  bool IsInitialized() const PROTOBUF_FINAL;
291 
292  size_t ByteSizeLong() const PROTOBUF_FINAL;
294  ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
296  ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
297  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
298  bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
299  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
300  private:
301  void SharedCtor();
302  void SharedDtor();
303  void SetCachedSize(int size) const PROTOBUF_FINAL;
304  void InternalSwap(Event* other);
305  private:
306  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
307  return NULL;
308  }
309  inline void* MaybeArenaPtr() const {
310  return NULL;
311  }
312  public:
313 
314  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
315 
316  // nested types ----------------------------------------------------
317 
319  static const EventType PUT =
321  static const EventType DELETE =
323  static inline bool EventType_IsValid(int value) {
324  return Event_EventType_IsValid(value);
325  }
326  static const EventType EventType_MIN =
328  static const EventType EventType_MAX =
330  static const int EventType_ARRAYSIZE =
332  static inline const ::google::protobuf::EnumDescriptor*
335  }
336  static inline const ::std::string& EventType_Name(EventType value) {
337  return Event_EventType_Name(value);
338  }
339  static inline bool EventType_Parse(const ::std::string& name,
340  EventType* value) {
341  return Event_EventType_Parse(name, value);
342  }
343 
344  // accessors -------------------------------------------------------
345 
346  // .mvccpb.KeyValue kv = 2;
347  bool has_kv() const;
348  void clear_kv();
349  static const int kKvFieldNumber = 2;
350  const ::mvccpb::KeyValue& kv() const;
354 
355  // .mvccpb.KeyValue prev_kv = 3;
356  bool has_prev_kv() const;
357  void clear_prev_kv();
358  static const int kPrevKvFieldNumber = 3;
359  const ::mvccpb::KeyValue& prev_kv() const;
363 
364  // .mvccpb.Event.EventType type = 1;
365  void clear_type();
366  static const int kTypeFieldNumber = 1;
368  void set_type(::mvccpb::Event_EventType value);
369 
370  // @@protoc_insertion_point(class_scope:mvccpb.Event)
371  private:
372 
373  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
376  int type_;
377  mutable int _cached_size_;
378  friend struct ::protobuf_kv_2eproto::TableStruct;
380 };
381 // ===================================================================
382 
383 
384 // ===================================================================
385 
386 #ifdef __GNUC__
387  #pragma GCC diagnostic push
388  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
389 #endif // __GNUC__
390 // KeyValue
391 
392 // bytes key = 1;
393 inline void KeyValue::clear_key() {
394  key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
395 }
396 inline const ::std::string& KeyValue::key() const {
397  // @@protoc_insertion_point(field_get:mvccpb.KeyValue.key)
398  return key_.GetNoArena();
399 }
400 inline void KeyValue::set_key(const ::std::string& value) {
401 
402  key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
403  // @@protoc_insertion_point(field_set:mvccpb.KeyValue.key)
404 }
405 #if LANG_CXX11
406 inline void KeyValue::set_key(::std::string&& value) {
407 
408  key_.SetNoArena(
409  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
410  // @@protoc_insertion_point(field_set_rvalue:mvccpb.KeyValue.key)
411 }
412 #endif
413 inline void KeyValue::set_key(const char* value) {
414  GOOGLE_DCHECK(value != NULL);
415 
416  key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
417  // @@protoc_insertion_point(field_set_char:mvccpb.KeyValue.key)
418 }
419 inline void KeyValue::set_key(const void* value, size_t size) {
420 
421  key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
422  ::std::string(reinterpret_cast<const char*>(value), size));
423  // @@protoc_insertion_point(field_set_pointer:mvccpb.KeyValue.key)
424 }
425 inline ::std::string* KeyValue::mutable_key() {
426 
427  // @@protoc_insertion_point(field_mutable:mvccpb.KeyValue.key)
428  return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
429 }
430 inline ::std::string* KeyValue::release_key() {
431  // @@protoc_insertion_point(field_release:mvccpb.KeyValue.key)
432 
433  return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
434 }
435 inline void KeyValue::set_allocated_key(::std::string* key) {
436  if (key != NULL) {
437 
438  } else {
439 
440  }
441  key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key);
442  // @@protoc_insertion_point(field_set_allocated:mvccpb.KeyValue.key)
443 }
444 
445 // int64 create_revision = 2;
447  create_revision_ = GOOGLE_LONGLONG(0);
448 }
449 inline ::google::protobuf::int64 KeyValue::create_revision() const {
450  // @@protoc_insertion_point(field_get:mvccpb.KeyValue.create_revision)
451  return create_revision_;
452 }
453 inline void KeyValue::set_create_revision(::google::protobuf::int64 value) {
454 
456  // @@protoc_insertion_point(field_set:mvccpb.KeyValue.create_revision)
457 }
458 
459 // int64 mod_revision = 3;
461  mod_revision_ = GOOGLE_LONGLONG(0);
462 }
463 inline ::google::protobuf::int64 KeyValue::mod_revision() const {
464  // @@protoc_insertion_point(field_get:mvccpb.KeyValue.mod_revision)
465  return mod_revision_;
466 }
467 inline void KeyValue::set_mod_revision(::google::protobuf::int64 value) {
468 
470  // @@protoc_insertion_point(field_set:mvccpb.KeyValue.mod_revision)
471 }
472 
473 // int64 version = 4;
474 inline void KeyValue::clear_version() {
475  version_ = GOOGLE_LONGLONG(0);
476 }
477 inline ::google::protobuf::int64 KeyValue::version() const {
478  // @@protoc_insertion_point(field_get:mvccpb.KeyValue.version)
479  return version_;
480 }
481 inline void KeyValue::set_version(::google::protobuf::int64 value) {
482 
483  version_ = value;
484  // @@protoc_insertion_point(field_set:mvccpb.KeyValue.version)
485 }
486 
487 // bytes value = 5;
488 inline void KeyValue::clear_value() {
489  value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
490 }
491 inline const ::std::string& KeyValue::value() const {
492  // @@protoc_insertion_point(field_get:mvccpb.KeyValue.value)
493  return value_.GetNoArena();
494 }
495 inline void KeyValue::set_value(const ::std::string& value) {
496 
497  value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
498  // @@protoc_insertion_point(field_set:mvccpb.KeyValue.value)
499 }
500 #if LANG_CXX11
501 inline void KeyValue::set_value(::std::string&& value) {
502 
503  value_.SetNoArena(
504  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
505  // @@protoc_insertion_point(field_set_rvalue:mvccpb.KeyValue.value)
506 }
507 #endif
508 inline void KeyValue::set_value(const char* value) {
509  GOOGLE_DCHECK(value != NULL);
510 
511  value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
512  // @@protoc_insertion_point(field_set_char:mvccpb.KeyValue.value)
513 }
514 inline void KeyValue::set_value(const void* value, size_t size) {
515 
516  value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
517  ::std::string(reinterpret_cast<const char*>(value), size));
518  // @@protoc_insertion_point(field_set_pointer:mvccpb.KeyValue.value)
519 }
520 inline ::std::string* KeyValue::mutable_value() {
521 
522  // @@protoc_insertion_point(field_mutable:mvccpb.KeyValue.value)
523  return value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
524 }
525 inline ::std::string* KeyValue::release_value() {
526  // @@protoc_insertion_point(field_release:mvccpb.KeyValue.value)
527 
528  return value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
529 }
530 inline void KeyValue::set_allocated_value(::std::string* value) {
531  if (value != NULL) {
532 
533  } else {
534 
535  }
536  value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
537  // @@protoc_insertion_point(field_set_allocated:mvccpb.KeyValue.value)
538 }
539 
540 // int64 lease = 6;
541 inline void KeyValue::clear_lease() {
542  lease_ = GOOGLE_LONGLONG(0);
543 }
544 inline ::google::protobuf::int64 KeyValue::lease() const {
545  // @@protoc_insertion_point(field_get:mvccpb.KeyValue.lease)
546  return lease_;
547 }
548 inline void KeyValue::set_lease(::google::protobuf::int64 value) {
549 
550  lease_ = value;
551  // @@protoc_insertion_point(field_set:mvccpb.KeyValue.lease)
552 }
553 
554 // -------------------------------------------------------------------
555 
556 // Event
557 
558 // .mvccpb.Event.EventType type = 1;
559 inline void Event::clear_type() {
560  type_ = 0;
561 }
563  // @@protoc_insertion_point(field_get:mvccpb.Event.type)
564  return static_cast< ::mvccpb::Event_EventType >(type_);
565 }
567 
568  type_ = value;
569  // @@protoc_insertion_point(field_set:mvccpb.Event.type)
570 }
571 
572 // .mvccpb.KeyValue kv = 2;
573 inline bool Event::has_kv() const {
574  return this != internal_default_instance() && kv_ != NULL;
575 }
576 inline void Event::clear_kv() {
577  if (GetArenaNoVirtual() == NULL && kv_ != NULL) {
578  delete kv_;
579  }
580  kv_ = NULL;
581 }
582 inline const ::mvccpb::KeyValue& Event::kv() const {
583  const ::mvccpb::KeyValue* p = kv_;
584  // @@protoc_insertion_point(field_get:mvccpb.Event.kv)
585  return p != NULL ? *p : *reinterpret_cast<const ::mvccpb::KeyValue*>(
587 }
588 inline ::mvccpb::KeyValue* Event::release_kv() {
589  // @@protoc_insertion_point(field_release:mvccpb.Event.kv)
590 
591  ::mvccpb::KeyValue* temp = kv_;
592  kv_ = NULL;
593  return temp;
594 }
595 inline ::mvccpb::KeyValue* Event::mutable_kv() {
596 
597  if (kv_ == NULL) {
598  kv_ = new ::mvccpb::KeyValue;
599  }
600  // @@protoc_insertion_point(field_mutable:mvccpb.Event.kv)
601  return kv_;
602 }
604  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
605  if (message_arena == NULL) {
606  delete kv_;
607  }
608  if (kv) {
609  ::google::protobuf::Arena* submessage_arena = NULL;
610  if (message_arena != submessage_arena) {
611  kv = ::google::protobuf::internal::GetOwnedMessage(
612  message_arena, kv, submessage_arena);
613  }
614 
615  } else {
616 
617  }
618  kv_ = kv;
619  // @@protoc_insertion_point(field_set_allocated:mvccpb.Event.kv)
620 }
621 
622 // .mvccpb.KeyValue prev_kv = 3;
623 inline bool Event::has_prev_kv() const {
624  return this != internal_default_instance() && prev_kv_ != NULL;
625 }
626 inline void Event::clear_prev_kv() {
627  if (GetArenaNoVirtual() == NULL && prev_kv_ != NULL) {
628  delete prev_kv_;
629  }
630  prev_kv_ = NULL;
631 }
632 inline const ::mvccpb::KeyValue& Event::prev_kv() const {
633  const ::mvccpb::KeyValue* p = prev_kv_;
634  // @@protoc_insertion_point(field_get:mvccpb.Event.prev_kv)
635  return p != NULL ? *p : *reinterpret_cast<const ::mvccpb::KeyValue*>(
637 }
638 inline ::mvccpb::KeyValue* Event::release_prev_kv() {
639  // @@protoc_insertion_point(field_release:mvccpb.Event.prev_kv)
640 
642  prev_kv_ = NULL;
643  return temp;
644 }
645 inline ::mvccpb::KeyValue* Event::mutable_prev_kv() {
646 
647  if (prev_kv_ == NULL) {
648  prev_kv_ = new ::mvccpb::KeyValue;
649  }
650  // @@protoc_insertion_point(field_mutable:mvccpb.Event.prev_kv)
651  return prev_kv_;
652 }
654  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
655  if (message_arena == NULL) {
656  delete prev_kv_;
657  }
658  if (prev_kv) {
659  ::google::protobuf::Arena* submessage_arena = NULL;
660  if (message_arena != submessage_arena) {
661  prev_kv = ::google::protobuf::internal::GetOwnedMessage(
662  message_arena, prev_kv, submessage_arena);
663  }
664 
665  } else {
666 
667  }
668  prev_kv_ = prev_kv;
669  // @@protoc_insertion_point(field_set_allocated:mvccpb.Event.prev_kv)
670 }
671 
672 #ifdef __GNUC__
673  #pragma GCC diagnostic pop
674 #endif // __GNUC__
675 // -------------------------------------------------------------------
676 
677 
678 // @@protoc_insertion_point(namespace_scope)
679 
680 } // namespace mvccpb
681 
682 namespace google {
683 namespace protobuf {
684 
685 template <> struct is_proto_enum< ::mvccpb::Event_EventType> : ::google::protobuf::internal::true_type {};
686 template <>
687 inline const EnumDescriptor* GetEnumDescriptor< ::mvccpb::Event_EventType>() {
689 }
690 
691 } // namespace protobuf
692 } // namespace google
693 
694 // @@protoc_insertion_point(global_scope)
695 
696 #endif // PROTOBUF_kv_2eproto__INCLUDED
::google::protobuf::int64 lease() const
Definition: kv.pb.h:544
void Clear() PROTOBUF_FINAL
Definition: kv.pb.cc:706
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) PROTOBUF_FINAL
Definition: kv.pb.cc:279
void set_allocated_key(::std::string *key)
Definition: kv.pb.h:435
::google::protobuf::internal::ArenaStringPtr value_
Definition: kv.pb.h:227
void MergeFrom(const ::google::protobuf::Message &from) PROTOBUF_FINAL
Definition: kv.pb.cc:895
void Clear() PROTOBUF_FINAL
Definition: kv.pb.cc:265
void CopyFrom(const ::google::protobuf::Message &from) PROTOBUF_FINAL
Definition: kv.pb.cc:585
virtual ~Event()
Definition: kv.pb.cc:673
static void InitAsDefaultInstance()
Definition: kv.pb.cc:627
::std::string * release_value()
Definition: kv.pb.h:525
void * MaybeArenaPtr() const
Definition: kv.pb.h:309
static const EventType DELETE
Definition: kv.pb.h:321
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const PROTOBUF_FINAL
Definition: kv.pb.cc:389
static const EventType EventType_MIN
Definition: kv.pb.h:326
void SharedCtor()
Definition: kv.pb.cc:666
friend void swap(KeyValue &a, KeyValue &b)
Definition: kv.pb.h:126
void set_allocated_value(::std::string *value)
Definition: kv.pb.h:530
int GetCachedSize() const PROTOBUF_FINAL
Definition: kv.pb.h:149
const Event_EventType Event_EventType_EventType_MAX
Definition: kv.pb.h:73
static const KeyValue * internal_default_instance()
Definition: kv.pb.h:118
::google::protobuf::internal::ArenaStringPtr key_
Definition: kv.pb.h:226
static void InitAsDefaultInstance()
Definition: kv.pb.cc:185
int _cached_size_
Definition: kv.pb.h:232
::std::string * mutable_key()
Definition: kv.pb.h:425
static const ::google::protobuf::Descriptor * descriptor()
Definition: kv.pb.cc:688
void SetCachedSize(int size) const PROTOBUF_FINAL
Definition: kv.pb.cc:683
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_
Definition: kv.pb.h:373
bool Event_EventType_Parse(const ::std::string &name, Event_EventType *value)
Definition: kv.pb.h:81
void InternalSwap(Event *other)
Definition: kv.pb.cc:950
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic,::google::protobuf::uint8 *target) const PROTOBUF_FINAL
Definition: kv.pb.cc:824
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic,::google::protobuf::uint8 *target) const PROTOBUF_FINAL
Definition: kv.pb.cc:434
void Swap(Event *other)
Definition: kv.pb.cc:946
::google::protobuf::int64 version_
Definition: kv.pb.h:230
void set_allocated_kv(::mvccpb::KeyValue *kv)
Definition: kv.pb.h:603
int _cached_size_
Definition: kv.pb.h:377
bool has_prev_kv() const
Definition: kv.pb.h:623
static const int EventType_ARRAYSIZE
Definition: kv.pb.h:330
static const int kCreateRevisionFieldNumber
Definition: kv.pb.h:200
void clear_kv()
Definition: kv.pb.h:576
static const ::google::protobuf::Descriptor * descriptor()
Definition: kv.pb.cc:247
void clear_lease()
Definition: kv.pb.h:541
void SetCachedSize(int size) const PROTOBUF_FINAL
Definition: kv.pb.cc:242
void set_value(const ::std::string &value)
Definition: kv.pb.h:495
void SharedCtor()
Definition: kv.pb.cc:223
static const int kPrevKvFieldNumber
Definition: kv.pb.h:358
virtual ~KeyValue()
Definition: kv.pb.cc:232
void InitDefaultsKeyValueImpl()
Definition: kv.pb.cc:35
static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
Definition: kv.pb.h:39
static const ::google::protobuf::internal::SerializationTable serialization_table[]
Definition: kv.pb.h:42
static const ::google::protobuf::EnumDescriptor * EventType_descriptor()
Definition: kv.pb.h:333
::google::protobuf::int64 create_revision_
Definition: kv.pb.h:228
::google::protobuf::int64 mod_revision() const
Definition: kv.pb.h:463
const ::std::string & key() const
Definition: kv.pb.h:396
static const ::std::string & EventType_Name(EventType value)
Definition: kv.pb.h:336
static const KeyValue & default_instance()
Definition: kv.pb.cc:252
const ::std::string & value() const
Definition: kv.pb.h:491
const ::mvccpb::KeyValue & prev_kv() const
Definition: kv.pb.h:632
inline::google::protobuf::Arena * GetArenaNoVirtual() const
Definition: kv.pb.h:306
KeyValue & operator=(const KeyValue &from)
Definition: kv.pb.h:95
void set_allocated_prev_kv(::mvccpb::KeyValue *prev_kv)
Definition: kv.pb.h:653
void clear_value()
Definition: kv.pb.h:488
void clear_type()
Definition: kv.pb.h:559
::mvccpb::KeyValue * mutable_prev_kv()
Definition: kv.pb.h:645
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL
Definition: kv.pb.cc:959
void set_create_revision(::google::protobuf::int64 value)
Definition: kv.pb.h:453
::google::protobuf::int64 version() const
Definition: kv.pb.h:477
inline::google::protobuf::Arena * GetArenaNoVirtual() const
Definition: kv.pb.h:156
static const ::google::protobuf::internal::FieldMetadata field_metadata[]
Definition: kv.pb.h:41
const ::std::string & Event_EventType_Name(Event_EventType value)
Definition: kv.pb.h:77
static const int kKvFieldNumber
Definition: kv.pb.h:349
friend void swap(Event &a, Event &b)
Definition: kv.pb.h:276
void clear_key()
Definition: kv.pb.h:393
const Event_EventType Event_EventType_EventType_MIN
Definition: kv.pb.h:72
Event
Definition: http_client.h:27
const ::mvccpb::KeyValue & kv() const
Definition: kv.pb.h:582
static const int kLeaseFieldNumber
Definition: kv.pb.h:218
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const PROTOBUF_FINAL
Definition: kv.pb.cc:793
static const Event & default_instance()
Definition: kv.pb.cc:693
void SharedDtor()
Definition: kv.pb.cc:237
class mvccpb::KeyValueDefaultTypeInternal _KeyValue_default_instance_
Definition: kv.pb.h:60
void * MaybeArenaPtr() const
Definition: kv.pb.h:159
void AddDescriptors()
Definition: kv.pb.cc:149
class mvccpb::EventDefaultTypeInternal _Event_default_instance_
Definition: kv.pb.h:57
bool IsInitialized() const PROTOBUF_FINAL
Definition: kv.pb.cc:599
static bool EventType_Parse(const ::std::string &name, EventType *value)
Definition: kv.pb.h:339
static const EventType PUT
Definition: kv.pb.h:319
Event & operator=(const Event &from)
Definition: kv.pb.h:245
::std::string * release_key()
Definition: kv.pb.h:430
KeyValue * New() const PROTOBUF_FINAL
Definition: kv.pb.h:132
void set_mod_revision(::google::protobuf::int64 value)
Definition: kv.pb.h:467
size_t ByteSizeLong() const PROTOBUF_FINAL
Definition: kv.pb.cc:859
::mvccpb::KeyValue * release_prev_kv()
Definition: kv.pb.h:638
void clear_version()
Definition: kv.pb.h:474
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) PROTOBUF_FINAL
Definition: kv.pb.cc:724
static const int kKeyFieldNumber
Definition: kv.pb.h:172
::mvccpb::Event_EventType type() const
Definition: kv.pb.h:562
const ::google::protobuf::EnumDescriptor * Event_EventType_descriptor()
Definition: kv.pb.cc:161
::mvccpb::KeyValue * prev_kv_
Definition: kv.pb.h:375
void InitDefaultsKeyValue()
Definition: kv.pb.cc:51
static const EventType EventType_MAX
Definition: kv.pb.h:328
Event_EventType
Definition: kv.pb.h:65
int GetCachedSize() const PROTOBUF_FINAL
Definition: kv.pb.h:299
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL
Definition: kv.pb.cc:619
::google::protobuf::int64 lease_
Definition: kv.pb.h:231
static const int kVersionFieldNumber
Definition: kv.pb.h:212
const int Event_EventType_EventType_ARRAYSIZE
Definition: kv.pb.h:74
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages
Definition: kv.pb.h:122
static const int kModRevisionFieldNumber
Definition: kv.pb.h:206
Event * New() const PROTOBUF_FINAL
Definition: kv.pb.h:282
void set_key(const ::std::string &value)
Definition: kv.pb.h:400
void InternalSwap(KeyValue *other)
Definition: kv.pb.cc:607
::mvccpb::KeyValue * mutable_kv()
Definition: kv.pb.h:595
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_
Definition: kv.pb.h:225
static const int kTypeFieldNumber
Definition: kv.pb.h:366
void clear_create_revision()
Definition: kv.pb.h:446
::google::protobuf::int64 create_revision() const
Definition: kv.pb.h:449
void clear_mod_revision()
Definition: kv.pb.h:460
void InitDefaults()
Definition: kv.pb.h:50
void InitDefaultsEvent()
Definition: kv.pb.cc:73
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages
Definition: kv.pb.h:272
void set_type(::mvccpb::Event_EventType value)
Definition: kv.pb.h:566
bool IsInitialized() const PROTOBUF_FINAL
Definition: kv.pb.cc:942
void InitDefaultsEventImpl()
Definition: kv.pb.cc:56
int type_
Definition: kv.pb.h:376
bool has_kv() const
Definition: kv.pb.h:573
void MergeFrom(const ::google::protobuf::Message &from) PROTOBUF_FINAL
Definition: kv.pb.cc:541
::mvccpb::KeyValue * kv_
Definition: kv.pb.h:374
void Swap(KeyValue *other)
Definition: kv.pb.cc:603
static const Event * internal_default_instance()
Definition: kv.pb.h:268
void set_lease(::google::protobuf::int64 value)
Definition: kv.pb.h:548
bool Event_EventType_IsValid(int value)
Definition: kv.pb.cc:165
size_t ByteSizeLong() const PROTOBUF_FINAL
Definition: kv.pb.cc:483
static const ::google::protobuf::internal::ParseTableField entries[]
Definition: kv.pb.h:38
::mvccpb::KeyValue * release_kv()
Definition: kv.pb.h:588
static const ::google::protobuf::internal::ParseTable schema[2]
Definition: kv.pb.h:40
static bool EventType_IsValid(int value)
Definition: kv.pb.h:323
void clear_prev_kv()
Definition: kv.pb.h:626
static const ::google::protobuf::uint32 offsets[]
Definition: kv.pb.h:43
void SharedDtor()
Definition: kv.pb.cc:678
void set_version(::google::protobuf::int64 value)
Definition: kv.pb.h:481
::std::string * mutable_value()
Definition: kv.pb.h:520
::google::protobuf::int64 mod_revision_
Definition: kv.pb.h:229
void CopyFrom(const ::google::protobuf::Message &from) PROTOBUF_FINAL
Definition: kv.pb.cc:928
static const int kValueFieldNumber
Definition: kv.pb.h:186