public interface EventOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
KeyValue |
getKv()
kv holds the KeyValue for the event.
|
KeyValueOrBuilder |
getKvOrBuilder()
kv holds the KeyValue for the event.
|
KeyValue |
getPrevKv()
prev_kv holds the key-value pair before the event happens.
|
KeyValueOrBuilder |
getPrevKvOrBuilder()
prev_kv holds the key-value pair before the event happens.
|
Event.EventType |
getType()
type is the kind of event.
|
int |
getTypeValue()
type is the kind of event.
|
boolean |
hasKv()
kv holds the KeyValue for the event.
|
boolean |
hasPrevKv()
prev_kv holds the key-value pair before the event happens.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getTypeValue()
type is the kind of event. If type is a PUT, it indicates new data has been stored to the key. If type is a DELETE, it indicates the key was deleted.
.mvccpb.Event.EventType type = 1;Event.EventType getType()
type is the kind of event. If type is a PUT, it indicates new data has been stored to the key. If type is a DELETE, it indicates the key was deleted.
.mvccpb.Event.EventType type = 1;boolean hasKv()
kv holds the KeyValue for the event. A PUT event contains current kv pair. A PUT event with kv.Version=1 indicates the creation of a key. A DELETE/EXPIRE event contains the deleted key with its modification revision set to the revision of deletion.
.mvccpb.KeyValue kv = 2;KeyValue getKv()
kv holds the KeyValue for the event. A PUT event contains current kv pair. A PUT event with kv.Version=1 indicates the creation of a key. A DELETE/EXPIRE event contains the deleted key with its modification revision set to the revision of deletion.
.mvccpb.KeyValue kv = 2;KeyValueOrBuilder getKvOrBuilder()
kv holds the KeyValue for the event. A PUT event contains current kv pair. A PUT event with kv.Version=1 indicates the creation of a key. A DELETE/EXPIRE event contains the deleted key with its modification revision set to the revision of deletion.
.mvccpb.KeyValue kv = 2;boolean hasPrevKv()
prev_kv holds the key-value pair before the event happens.
.mvccpb.KeyValue prev_kv = 3;KeyValue getPrevKv()
prev_kv holds the key-value pair before the event happens.
.mvccpb.KeyValue prev_kv = 3;KeyValueOrBuilder getPrevKvOrBuilder()
prev_kv holds the key-value pair before the event happens.
.mvccpb.KeyValue prev_kv = 3;Copyright © 2019. All rights reserved.