public static final class Event.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder> implements EventOrBuilder
mvccpb.Event| Modifier and Type | Method and Description |
|---|---|
Event.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Event |
build() |
Event |
buildPartial() |
Event.Builder |
clear() |
Event.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Event.Builder |
clearKv()
kv holds the KeyValue for the event.
|
Event.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Event.Builder |
clearPrevKv()
prev_kv holds the key-value pair before the event happens.
|
Event.Builder |
clearType()
type is the kind of event.
|
Event.Builder |
clone() |
Event |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
KeyValue |
getKv()
kv holds the KeyValue for the event.
|
KeyValue.Builder |
getKvBuilder()
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.
|
KeyValue.Builder |
getPrevKvBuilder()
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Event.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Event.Builder |
mergeFrom(Event other) |
Event.Builder |
mergeFrom(com.google.protobuf.Message other) |
Event.Builder |
mergeKv(KeyValue value)
kv holds the KeyValue for the event.
|
Event.Builder |
mergePrevKv(KeyValue value)
prev_kv holds the key-value pair before the event happens.
|
Event.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Event.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Event.Builder |
setKv(KeyValue.Builder builderForValue)
kv holds the KeyValue for the event.
|
Event.Builder |
setKv(KeyValue value)
kv holds the KeyValue for the event.
|
Event.Builder |
setPrevKv(KeyValue.Builder builderForValue)
prev_kv holds the key-value pair before the event happens.
|
Event.Builder |
setPrevKv(KeyValue value)
prev_kv holds the key-value pair before the event happens.
|
Event.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Event.Builder |
setType(Event.EventType value)
type is the kind of event.
|
Event.Builder |
setTypeValue(int value)
type is the kind of event.
|
Event.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public Event.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public Event getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Event build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Event buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Event.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public Event.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public Event.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public Event.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public Event.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public Event.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public Event.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Event.Builder>public Event.Builder mergeFrom(Event other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public Event.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<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 in interface EventOrBuilderpublic 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;value - The enum numeric value on the wire for type to set.public 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 in interface EventOrBuilderpublic Event.Builder setType(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;value - The type to set.public 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 in interface EventOrBuilderpublic 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 in interface EventOrBuilderpublic Event.Builder setKv(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 Event.Builder setKv(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 Event.Builder mergeKv(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 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 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 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 in interface EventOrBuilderpublic boolean hasPrevKv()
prev_kv holds the key-value pair before the event happens.
.mvccpb.KeyValue prev_kv = 3;hasPrevKv in interface EventOrBuilderpublic KeyValue getPrevKv()
prev_kv holds the key-value pair before the event happens.
.mvccpb.KeyValue prev_kv = 3;getPrevKv in interface EventOrBuilderpublic Event.Builder setPrevKv(KeyValue value)
prev_kv holds the key-value pair before the event happens.
.mvccpb.KeyValue prev_kv = 3;public Event.Builder setPrevKv(KeyValue.Builder builderForValue)
prev_kv holds the key-value pair before the event happens.
.mvccpb.KeyValue prev_kv = 3;public Event.Builder mergePrevKv(KeyValue value)
prev_kv holds the key-value pair before the event happens.
.mvccpb.KeyValue prev_kv = 3;public Event.Builder clearPrevKv()
prev_kv holds the key-value pair before the event happens.
.mvccpb.KeyValue prev_kv = 3;public KeyValue.Builder getPrevKvBuilder()
prev_kv holds the key-value pair before the event happens.
.mvccpb.KeyValue prev_kv = 3;public KeyValueOrBuilder getPrevKvOrBuilder()
prev_kv holds the key-value pair before the event happens.
.mvccpb.KeyValue prev_kv = 3;getPrevKvOrBuilder in interface EventOrBuilderpublic final Event.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public final Event.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>Copyright © 2022. All rights reserved.