OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mvccpb::KeyValue Class Reference

#include <kv.pb.h>

Inheritance diagram for mvccpb::KeyValue:
Collaboration diagram for mvccpb::KeyValue:

Public Member Functions

 KeyValue ()
 
virtual ~KeyValue ()
 
 KeyValue (const KeyValue &from)
 
KeyValueoperator= (const KeyValue &from)
 
void Swap (KeyValue *other)
 
KeyValueNew () const PROTOBUF_FINAL
 
KeyValueNew (::google::protobuf::Arena *arena) const PROTOBUF_FINAL
 
void CopyFrom (const ::google::protobuf::Message &from) PROTOBUF_FINAL
 
void MergeFrom (const ::google::protobuf::Message &from) PROTOBUF_FINAL
 
void CopyFrom (const KeyValue &from)
 
void MergeFrom (const KeyValue &from)
 
void Clear () PROTOBUF_FINAL
 
bool IsInitialized () const PROTOBUF_FINAL
 
size_t ByteSizeLong () const PROTOBUF_FINAL
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input) PROTOBUF_FINAL
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const PROTOBUF_FINAL
 
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray (bool deterministic,::google::protobuf::uint8 *target) const PROTOBUF_FINAL
 
int GetCachedSize () const PROTOBUF_FINAL
 
::google::protobuf::Metadata GetMetadata () const PROTOBUF_FINAL
 
void clear_key ()
 
const ::std::string & key () const
 
void set_key (const ::std::string &value)
 
void set_key (const char *value)
 
void set_key (const void *value, size_t size)
 
::std::string * mutable_key ()
 
::std::string * release_key ()
 
void set_allocated_key (::std::string *key)
 
void clear_value ()
 
const ::std::string & value () const
 
void set_value (const ::std::string &value)
 
void set_value (const char *value)
 
void set_value (const void *value, size_t size)
 
::std::string * mutable_value ()
 
::std::string * release_value ()
 
void set_allocated_value (::std::string *value)
 
void clear_create_revision ()
 
::google::protobuf::int64 create_revision () const
 
void set_create_revision (::google::protobuf::int64 value)
 
void clear_mod_revision ()
 
::google::protobuf::int64 mod_revision () const
 
void set_mod_revision (::google::protobuf::int64 value)
 
void clear_version ()
 
::google::protobuf::int64 version () const
 
void set_version (::google::protobuf::int64 value)
 
void clear_lease ()
 
::google::protobuf::int64 lease () const
 
void set_lease (::google::protobuf::int64 value)
 

Static Public Member Functions

static const
::google::protobuf::Descriptor * 
descriptor ()
 
static const KeyValuedefault_instance ()
 
static void InitAsDefaultInstance ()
 
static const KeyValueinternal_default_instance ()
 

Static Public Attributes

static PROTOBUF_CONSTEXPR int const kIndexInFileMessages
 
static const int kKeyFieldNumber = 1
 
static const int kValueFieldNumber = 5
 
static const int kCreateRevisionFieldNumber = 2
 
static const int kModRevisionFieldNumber = 3
 
static const int kVersionFieldNumber = 4
 
static const int kLeaseFieldNumber = 6
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const PROTOBUF_FINAL
 
void InternalSwap (KeyValue *other)
 
inline::google::protobuf::Arena * GetArenaNoVirtual () const
 
void * MaybeArenaPtr () const
 
friend void::protobuf_kv_2eproto::InitDefaultsKeyValueImpl ()
 

Private Attributes

::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_
 
::google::protobuf::internal::ArenaStringPtr key_
 
::google::protobuf::internal::ArenaStringPtr value_
 
::google::protobuf::int64 create_revision_
 
::google::protobuf::int64 mod_revision_
 
::google::protobuf::int64 version_
 
::google::protobuf::int64 lease_
 
int _cached_size_
 

Friends

struct ::protobuf_kv_2eproto::TableStruct
 
void swap (KeyValue &a, KeyValue &b)
 

Detailed Description

Definition at line 88 of file kv.pb.h.

Constructor & Destructor Documentation

mvccpb::KeyValue::KeyValue ( )

Definition at line 196 of file kv.pb.cc.

Here is the call graph for this function:

mvccpb::KeyValue::~KeyValue ( )
virtual

Definition at line 232 of file kv.pb.cc.

Here is the call graph for this function:

mvccpb::KeyValue::KeyValue ( const KeyValue from)

Definition at line 204 of file kv.pb.cc.

Here is the call graph for this function:

Member Function Documentation

size_t mvccpb::KeyValue::ByteSizeLong ( ) const

Definition at line 483 of file kv.pb.cc.

Here is the call graph for this function:

void mvccpb::KeyValue::Clear ( )

Definition at line 265 of file kv.pb.cc.

void mvccpb::KeyValue::clear_create_revision ( )
inline

Definition at line 446 of file kv.pb.h.

void mvccpb::KeyValue::clear_key ( )
inline

Definition at line 393 of file kv.pb.h.

void mvccpb::KeyValue::clear_lease ( )
inline

Definition at line 541 of file kv.pb.h.

void mvccpb::KeyValue::clear_mod_revision ( )
inline

Definition at line 460 of file kv.pb.h.

void mvccpb::KeyValue::clear_value ( )
inline

Definition at line 488 of file kv.pb.h.

void mvccpb::KeyValue::clear_version ( )
inline

Definition at line 474 of file kv.pb.h.

void mvccpb::KeyValue::CopyFrom ( const ::google::protobuf::Message &  from)

Definition at line 585 of file kv.pb.cc.

Here is the call graph for this function:

void mvccpb::KeyValue::CopyFrom ( const KeyValue from)

Definition at line 592 of file kv.pb.cc.

Here is the call graph for this function:

google::protobuf::int64 mvccpb::KeyValue::create_revision ( ) const
inline

Definition at line 449 of file kv.pb.h.

const KeyValue & mvccpb::KeyValue::default_instance ( )
static

Definition at line 252 of file kv.pb.cc.

Here is the call graph for this function:

const ::google::protobuf::Descriptor * mvccpb::KeyValue::descriptor ( )
static

Definition at line 247 of file kv.pb.cc.

Here is the call graph for this function:

inline ::google::protobuf::Arena* mvccpb::KeyValue::GetArenaNoVirtual ( ) const
inlineprivate

Definition at line 156 of file kv.pb.h.

int mvccpb::KeyValue::GetCachedSize ( ) const
inline

Definition at line 149 of file kv.pb.h.

google::protobuf::Metadata mvccpb::KeyValue::GetMetadata ( ) const

Definition at line 619 of file kv.pb.cc.

Here is the call graph for this function:

void mvccpb::KeyValue::InitAsDefaultInstance ( )
static

Definition at line 185 of file kv.pb.cc.

static const KeyValue* mvccpb::KeyValue::internal_default_instance ( )
inlinestatic

Definition at line 118 of file kv.pb.h.

google::protobuf::uint8 * mvccpb::KeyValue::InternalSerializeWithCachedSizesToArray ( bool  deterministic,
::google::protobuf::uint8 *  target 
) const

Definition at line 434 of file kv.pb.cc.

Here is the call graph for this function:

void mvccpb::KeyValue::InternalSwap ( KeyValue other)
private

Definition at line 607 of file kv.pb.cc.

bool mvccpb::KeyValue::IsInitialized ( ) const

Definition at line 599 of file kv.pb.cc.

const ::std::string & mvccpb::KeyValue::key ( ) const
inline

Definition at line 396 of file kv.pb.h.

google::protobuf::int64 mvccpb::KeyValue::lease ( ) const
inline

Definition at line 544 of file kv.pb.h.

void* mvccpb::KeyValue::MaybeArenaPtr ( ) const
inlineprivate

Definition at line 159 of file kv.pb.h.

void mvccpb::KeyValue::MergeFrom ( const ::google::protobuf::Message &  from)

Definition at line 541 of file kv.pb.cc.

void mvccpb::KeyValue::MergeFrom ( const KeyValue from)

Definition at line 556 of file kv.pb.cc.

Here is the call graph for this function:

bool mvccpb::KeyValue::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream *  input)

Definition at line 279 of file kv.pb.cc.

Here is the call graph for this function:

google::protobuf::int64 mvccpb::KeyValue::mod_revision ( ) const
inline

Definition at line 463 of file kv.pb.h.

std::string * mvccpb::KeyValue::mutable_key ( )
inline

Definition at line 425 of file kv.pb.h.

std::string * mvccpb::KeyValue::mutable_value ( )
inline

Definition at line 520 of file kv.pb.h.

KeyValue* mvccpb::KeyValue::New ( ) const
inline

Definition at line 132 of file kv.pb.h.

Here is the call graph for this function:

KeyValue * mvccpb::KeyValue::New ( ::google::protobuf::Arena *  arena) const

Definition at line 257 of file kv.pb.cc.

Here is the call graph for this function:

KeyValue& mvccpb::KeyValue::operator= ( const KeyValue from)
inline

Definition at line 95 of file kv.pb.h.

Here is the call graph for this function:

std::string * mvccpb::KeyValue::release_key ( )
inline

Definition at line 430 of file kv.pb.h.

std::string * mvccpb::KeyValue::release_value ( )
inline

Definition at line 525 of file kv.pb.h.

void mvccpb::KeyValue::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream *  output) const

Definition at line 389 of file kv.pb.cc.

Here is the call graph for this function:

void mvccpb::KeyValue::set_allocated_key ( ::std::string *  key)
inline

Definition at line 435 of file kv.pb.h.

void mvccpb::KeyValue::set_allocated_value ( ::std::string *  value)
inline

Definition at line 530 of file kv.pb.h.

void mvccpb::KeyValue::set_create_revision ( ::google::protobuf::int64  value)
inline

Definition at line 453 of file kv.pb.h.

Here is the call graph for this function:

void mvccpb::KeyValue::set_key ( const ::std::string &  value)
inline

Definition at line 400 of file kv.pb.h.

void mvccpb::KeyValue::set_key ( const char *  value)
inline

Definition at line 413 of file kv.pb.h.

void mvccpb::KeyValue::set_key ( const void *  value,
size_t  size 
)
inline

Definition at line 419 of file kv.pb.h.

void mvccpb::KeyValue::set_lease ( ::google::protobuf::int64  value)
inline

Definition at line 548 of file kv.pb.h.

Here is the call graph for this function:

void mvccpb::KeyValue::set_mod_revision ( ::google::protobuf::int64  value)
inline

Definition at line 467 of file kv.pb.h.

Here is the call graph for this function:

void mvccpb::KeyValue::set_value ( const ::std::string &  value)
inline

Definition at line 495 of file kv.pb.h.

void mvccpb::KeyValue::set_value ( const char *  value)
inline

Definition at line 508 of file kv.pb.h.

void mvccpb::KeyValue::set_value ( const void *  value,
size_t  size 
)
inline

Definition at line 514 of file kv.pb.h.

void mvccpb::KeyValue::set_version ( ::google::protobuf::int64  value)
inline

Definition at line 481 of file kv.pb.h.

Here is the call graph for this function:

void mvccpb::KeyValue::SetCachedSize ( int  size) const
private

Definition at line 242 of file kv.pb.cc.

void mvccpb::KeyValue::SharedCtor ( )
private

Definition at line 223 of file kv.pb.cc.

void mvccpb::KeyValue::SharedDtor ( )
private

Definition at line 237 of file kv.pb.cc.

void mvccpb::KeyValue::Swap ( KeyValue other)

Definition at line 603 of file kv.pb.cc.

Here is the call graph for this function:

const ::std::string & mvccpb::KeyValue::value ( ) const
inline

Definition at line 491 of file kv.pb.h.

google::protobuf::int64 mvccpb::KeyValue::version ( ) const
inline

Definition at line 477 of file kv.pb.h.

mvccpb::KeyValue::void::protobuf_kv_2eproto::InitDefaultsKeyValueImpl ( )
private

Friends And Related Function Documentation

friend struct ::protobuf_kv_2eproto::TableStruct
friend

Definition at line 233 of file kv.pb.h.

void swap ( KeyValue a,
KeyValue b 
)
friend

Definition at line 126 of file kv.pb.h.

Member Data Documentation

int mvccpb::KeyValue::_cached_size_
mutableprivate

Definition at line 232 of file kv.pb.h.

::google::protobuf::internal::InternalMetadataWithArena mvccpb::KeyValue::_internal_metadata_
private

Definition at line 225 of file kv.pb.h.

::google::protobuf::int64 mvccpb::KeyValue::create_revision_
private

Definition at line 228 of file kv.pb.h.

const int mvccpb::KeyValue::kCreateRevisionFieldNumber = 2
static

Definition at line 200 of file kv.pb.h.

::google::protobuf::internal::ArenaStringPtr mvccpb::KeyValue::key_
private

Definition at line 226 of file kv.pb.h.

PROTOBUF_CONSTEXPR int const mvccpb::KeyValue::kIndexInFileMessages
static
Initial value:
=
0

Definition at line 122 of file kv.pb.h.

const int mvccpb::KeyValue::kKeyFieldNumber = 1
static

Definition at line 172 of file kv.pb.h.

const int mvccpb::KeyValue::kLeaseFieldNumber = 6
static

Definition at line 218 of file kv.pb.h.

const int mvccpb::KeyValue::kModRevisionFieldNumber = 3
static

Definition at line 206 of file kv.pb.h.

const int mvccpb::KeyValue::kValueFieldNumber = 5
static

Definition at line 186 of file kv.pb.h.

const int mvccpb::KeyValue::kVersionFieldNumber = 4
static

Definition at line 212 of file kv.pb.h.

::google::protobuf::int64 mvccpb::KeyValue::lease_
private

Definition at line 231 of file kv.pb.h.

::google::protobuf::int64 mvccpb::KeyValue::mod_revision_
private

Definition at line 229 of file kv.pb.h.

::google::protobuf::internal::ArenaStringPtr mvccpb::KeyValue::value_
private

Definition at line 227 of file kv.pb.h.

::google::protobuf::int64 mvccpb::KeyValue::version_
private

Definition at line 230 of file kv.pb.h.


The documentation for this class was generated from the following files: