public static final class Kv.Event extends com.google.protobuf.GeneratedMessageV3 implements Kv.EventOrBuilder
mvccpb.Event| 限定符和类型 | 类和说明 |
|---|---|
static class |
Kv.Event.Builder
Protobuf type
mvccpb.Event |
static class |
Kv.Event.EventType
Protobuf enum
mvccpb.Event.EventType |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| 限定符和类型 | 字段和说明 |
|---|---|
static int |
KV_FIELD_NUMBER |
static int |
PREV_KV_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
static Kv.Event |
getDefaultInstance() |
Kv.Event |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Kv.KeyValue |
getKv()
kv holds the KeyValue for the event.
|
Kv.KeyValueOrBuilder |
getKvOrBuilder()
kv holds the KeyValue for the event.
|
com.google.protobuf.Parser<Kv.Event> |
getParserForType() |
Kv.KeyValue |
getPrevKv()
prev_kv holds the key-value pair before the event happens.
|
Kv.KeyValueOrBuilder |
getPrevKvOrBuilder()
prev_kv holds the key-value pair before the event happens.
|
int |
getSerializedSize() |
Kv.Event.EventType |
getType()
type is the kind of event.
|
int |
getTypeValue()
type is the kind of event.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasKv()
kv holds the KeyValue for the event.
|
boolean |
hasPrevKv()
prev_kv holds the key-value pair before the event happens.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Kv.Event.Builder |
newBuilder() |
static Kv.Event.Builder |
newBuilder(Kv.Event prototype) |
Kv.Event.Builder |
newBuilderForType() |
protected Kv.Event.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Kv.Event |
parseDelimitedFrom(InputStream input) |
static Kv.Event |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kv.Event |
parseFrom(byte[] data) |
static Kv.Event |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kv.Event |
parseFrom(ByteBuffer data) |
static Kv.Event |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kv.Event |
parseFrom(com.google.protobuf.ByteString data) |
static Kv.Event |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kv.Event |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Kv.Event |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kv.Event |
parseFrom(InputStream input) |
static Kv.Event |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Kv.Event> |
parser() |
Kv.Event.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int TYPE_FIELD_NUMBER
public static final int KV_FIELD_NUMBER
public static final int PREV_KV_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public int 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;getTypeValue 在接口中 Kv.EventOrBuilderpublic Kv.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;getType 在接口中 Kv.EventOrBuilderpublic 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;hasKv 在接口中 Kv.EventOrBuilderpublic Kv.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;getKv 在接口中 Kv.EventOrBuilderpublic Kv.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;getKvOrBuilder 在接口中 Kv.EventOrBuilderpublic boolean hasPrevKv()
prev_kv holds the key-value pair before the event happens.
.mvccpb.KeyValue prev_kv = 3;hasPrevKv 在接口中 Kv.EventOrBuilderpublic Kv.KeyValue getPrevKv()
prev_kv holds the key-value pair before the event happens.
.mvccpb.KeyValue prev_kv = 3;getPrevKv 在接口中 Kv.EventOrBuilderpublic Kv.KeyValueOrBuilder getPrevKvOrBuilder()
prev_kv holds the key-value pair before the event happens.
.mvccpb.KeyValue prev_kv = 3;getPrevKvOrBuilder 在接口中 Kv.EventOrBuilderpublic final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static Kv.Event parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Kv.Event parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Kv.Event parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Kv.Event parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Kv.Event parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Kv.Event parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Kv.Event parseFrom(InputStream input) throws IOException
IOExceptionpublic static Kv.Event parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Kv.Event parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Kv.Event parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Kv.Event parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Kv.Event parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Kv.Event.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static Kv.Event.Builder newBuilder()
public static Kv.Event.Builder newBuilder(Kv.Event prototype)
public Kv.Event.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected Kv.Event.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static Kv.Event getDefaultInstance()
public static com.google.protobuf.Parser<Kv.Event> parser()
public com.google.protobuf.Parser<Kv.Event> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public Kv.Event getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2018. All rights reserved.