OpenSDN source code
|
#include <rpc.pb.h>
Classes | |
union | TargetUnionUnion |
Public Types | |
enum | TargetUnionCase { kVersion = 4, kCreateRevision = 5, kModRevision = 6, kValue = 7, TARGET_UNION_NOT_SET = 0 } |
typedef Compare_CompareResult | CompareResult |
typedef Compare_CompareTarget | CompareTarget |
Public Member Functions | |
Compare () | |
virtual | ~Compare () |
Compare (const Compare &from) | |
Compare & | operator= (const Compare &from) |
void | Swap (Compare *other) |
Compare * | New () const PROTOBUF_FINAL |
Compare * | New (::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 Compare &from) |
void | MergeFrom (const Compare &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_result () |
::etcdserverpb::Compare_CompareResult | result () const |
void | set_result (::etcdserverpb::Compare_CompareResult value) |
void | clear_target () |
::etcdserverpb::Compare_CompareTarget | target () const |
void | set_target (::etcdserverpb::Compare_CompareTarget value) |
void | clear_version () |
::google::protobuf::int64 | version () const |
void | set_version (::google::protobuf::int64 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_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) |
TargetUnionCase | target_union_case () const |
Static Public Member Functions | |
static const ::google::protobuf::Descriptor * | descriptor () |
static const Compare & | default_instance () |
static void | InitAsDefaultInstance () |
static const Compare * | internal_default_instance () |
static bool | CompareResult_IsValid (int value) |
static const ::google::protobuf::EnumDescriptor * | CompareResult_descriptor () |
static const ::std::string & | CompareResult_Name (CompareResult value) |
static bool | CompareResult_Parse (const ::std::string &name, CompareResult *value) |
static bool | CompareTarget_IsValid (int value) |
static const ::google::protobuf::EnumDescriptor * | CompareTarget_descriptor () |
static const ::std::string & | CompareTarget_Name (CompareTarget value) |
static bool | CompareTarget_Parse (const ::std::string &name, CompareTarget *value) |
Static Public Attributes | |
static PROTOBUF_CONSTEXPR int const | kIndexInFileMessages |
static const CompareResult | EQUAL |
static const CompareResult | GREATER |
static const CompareResult | LESS |
static const CompareResult | CompareResult_MIN |
static const CompareResult | CompareResult_MAX |
static const int | CompareResult_ARRAYSIZE |
static const CompareTarget | VERSION |
static const CompareTarget | CREATE |
static const CompareTarget | MOD |
static const CompareTarget | VALUE |
static const CompareTarget | CompareTarget_MIN |
static const CompareTarget | CompareTarget_MAX |
static const int | CompareTarget_ARRAYSIZE |
static const int | kKeyFieldNumber = 3 |
static const int | kResultFieldNumber = 1 |
static const int | kTargetFieldNumber = 2 |
static const int | kVersionFieldNumber = 4 |
static const int | kCreateRevisionFieldNumber = 5 |
static const int | kModRevisionFieldNumber = 6 |
static const int | kValueFieldNumber = 7 |
Private Member Functions | |
void | SharedCtor () |
void | SharedDtor () |
void | SetCachedSize (int size) const PROTOBUF_FINAL |
void | InternalSwap (Compare *other) |
inline::google::protobuf::Arena * | GetArenaNoVirtual () const |
void * | MaybeArenaPtr () const |
bool | has_version () const |
bool | has_create_revision () const |
bool | has_mod_revision () const |
bool | has_value () const |
void | set_has_version () |
void | set_has_create_revision () |
void | set_has_mod_revision () |
void | set_has_value () |
bool | has_target_union () const |
void | clear_target_union () |
void | clear_has_target_union () |
friend | void::protobuf_rpc_2eproto::InitDefaultsCompareImpl () |
Private Attributes | |
::google::protobuf::internal::InternalMetadataWithArena | _internal_metadata_ |
::google::protobuf::internal::ArenaStringPtr | key_ |
int | result_ |
int | target_ |
union etcdserverpb::Compare::TargetUnionUnion | target_union_ |
int | _cached_size_ |
::google::protobuf::uint32 | _oneof_case_ [1] |
Friends | |
struct | ::protobuf_rpc_2eproto::TableStruct |
void | swap (Compare &a, Compare &b) |
etcdserverpb::Compare::Compare | ( | ) |
|
virtual |
etcdserverpb::Compare::Compare | ( | const Compare & | from | ) |
size_t etcdserverpb::Compare::ByteSizeLong | ( | ) | const |
void etcdserverpb::Compare::Clear | ( | ) |
|
inline |
|
inlineprivate |
|
inline |
|
private |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
void etcdserverpb::Compare::CopyFrom | ( | const ::google::protobuf::Message & | from | ) |
void etcdserverpb::Compare::CopyFrom | ( | const Compare & | from | ) |
|
inline |
|
static |
|
static |
|
inlineprivate |
google::protobuf::Metadata etcdserverpb::Compare::GetMetadata | ( | ) | const |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
static |
|
inlinestatic |
google::protobuf::uint8 * etcdserverpb::Compare::InternalSerializeWithCachedSizesToArray | ( | bool | deterministic, |
::google::protobuf::uint8 * | target | ||
) | const |
|
private |
|
inline |
|
inlineprivate |
void etcdserverpb::Compare::MergeFrom | ( | const ::google::protobuf::Message & | from | ) |
void etcdserverpb::Compare::MergeFrom | ( | const Compare & | from | ) |
bool etcdserverpb::Compare::MergePartialFromCodedStream | ( | ::google::protobuf::io::CodedInputStream * | input | ) |
|
inline |
|
inline |
|
inline |
|
inline |
Compare * etcdserverpb::Compare::New | ( | ::google::protobuf::Arena * | arena | ) | const |
|
inline |
|
inline |
|
inline |
void etcdserverpb::Compare::SerializeWithCachedSizes | ( | ::google::protobuf::io::CodedOutputStream * | output | ) | const |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
void etcdserverpb::Compare::Swap | ( | Compare * | other | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
friend |
|
private |
|
private |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
private |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
private |
|
static |
|
static |