public static final class Kv.Event.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Kv.Event.Builder> implements Kv.EventOrBuilder
mvccpb.Event| 限定符和类型 | 方法和说明 |
|---|---|
Kv.Event.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kv.Event |
build() |
Kv.Event |
buildPartial() |
Kv.Event.Builder |
clear() |
Kv.Event.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Kv.Event.Builder |
clearKv()
kv holds the KeyValue for the event.
|
Kv.Event.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Kv.Event.Builder |
clearPrevKv()
prev_kv holds the key-value pair before the event happens.
|
Kv.Event.Builder |
clearType()
type is the kind of event.
|
Kv.Event.Builder |
clone() |
Kv.Event |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Kv.KeyValue |
getKv()
kv holds the KeyValue for the event.
|
Kv.KeyValue.Builder |
getKvBuilder()
kv holds the KeyValue for the event.
|
Kv.KeyValueOrBuilder |
getKvOrBuilder()
kv holds the KeyValue for the event.
|
Kv.KeyValue |
getPrevKv()
prev_kv holds the key-value pair before the event happens.
|
Kv.KeyValue.Builder |
getPrevKvBuilder()
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.
|
Kv.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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Kv.Event.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Kv.Event.Builder |
mergeFrom(Kv.Event other) |
Kv.Event.Builder |
mergeFrom(com.google.protobuf.Message other) |
Kv.Event.Builder |
mergeKv(Kv.KeyValue value)
kv holds the KeyValue for the event.
|
Kv.Event.Builder |
mergePrevKv(Kv.KeyValue value)
prev_kv holds the key-value pair before the event happens.
|
Kv.Event.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Kv.Event.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kv.Event.Builder |
setKv(Kv.KeyValue.Builder builderForValue)
kv holds the KeyValue for the event.
|
Kv.Event.Builder |
setKv(Kv.KeyValue value)
kv holds the KeyValue for the event.
|
Kv.Event.Builder |
setPrevKv(Kv.KeyValue.Builder builderForValue)
prev_kv holds the key-value pair before the event happens.
|
Kv.Event.Builder |
setPrevKv(Kv.KeyValue value)
prev_kv holds the key-value pair before the event happens.
|
Kv.Event.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Kv.Event.Builder |
setType(Kv.Event.EventType value)
type is the kind of event.
|
Kv.Event.Builder |
setTypeValue(int value)
type is the kind of event.
|
Kv.Event.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kv.Event.Builder>public Kv.Event.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kv.Event.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kv.Event.Builder>public Kv.Event getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic Kv.Event build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic Kv.Event buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic Kv.Event.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kv.Event.Builder>public Kv.Event.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField 在接口中 com.google.protobuf.Message.BuildersetField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kv.Event.Builder>public Kv.Event.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField 在接口中 com.google.protobuf.Message.BuilderclearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kv.Event.Builder>public Kv.Event.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof 在接口中 com.google.protobuf.Message.BuilderclearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kv.Event.Builder>public Kv.Event.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField 在接口中 com.google.protobuf.Message.BuildersetRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kv.Event.Builder>public Kv.Event.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField 在接口中 com.google.protobuf.Message.BuilderaddRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kv.Event.Builder>public Kv.Event.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<Kv.Event.Builder>public Kv.Event.Builder mergeFrom(Kv.Event other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kv.Event.Builder>public Kv.Event.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在接口中 com.google.protobuf.MessageLite.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<Kv.Event.Builder>IOExceptionpublic 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.Builder setTypeValue(int value)
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;public 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 Kv.Event.Builder setType(Kv.Event.EventType value)
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;public Kv.Event.Builder clearType()
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;public 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.Event.Builder setKv(Kv.KeyValue value)
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;public Kv.Event.Builder setKv(Kv.KeyValue.Builder builderForValue)
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;public Kv.Event.Builder mergeKv(Kv.KeyValue value)
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;public Kv.Event.Builder clearKv()
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;public Kv.KeyValue.Builder getKvBuilder()
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;public 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.Event.Builder setPrevKv(Kv.KeyValue value)
prev_kv holds the key-value pair before the event happens.
.mvccpb.KeyValue prev_kv = 3;public Kv.Event.Builder setPrevKv(Kv.KeyValue.Builder builderForValue)
prev_kv holds the key-value pair before the event happens.
.mvccpb.KeyValue prev_kv = 3;public Kv.Event.Builder mergePrevKv(Kv.KeyValue value)
prev_kv holds the key-value pair before the event happens.
.mvccpb.KeyValue prev_kv = 3;public Kv.Event.Builder clearPrevKv()
prev_kv holds the key-value pair before the event happens.
.mvccpb.KeyValue prev_kv = 3;public Kv.KeyValue.Builder getPrevKvBuilder()
prev_kv holds the key-value pair before the event happens.
.mvccpb.KeyValue prev_kv = 3;public Kv.KeyValueOrBuilder getPrevKvOrBuilder()
prev_kv holds the key-value pair before the event happens.
.mvccpb.KeyValue prev_kv = 3;getPrevKvOrBuilder 在接口中 Kv.EventOrBuilderpublic final Kv.Event.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields 在接口中 com.google.protobuf.Message.BuildersetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kv.Event.Builder>public final Kv.Event.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields 在接口中 com.google.protobuf.Message.BuildermergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kv.Event.Builder>Copyright © 2018. All rights reserved.