Class Umadb.AppendRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Umadb.AppendRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<Umadb.AppendRequest.Builder>
umadb.v1.Umadb.AppendRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Umadb.AppendRequestOrBuilder
- Enclosing class:
Umadb.AppendRequest
public static final class Umadb.AppendRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Umadb.AppendRequest.Builder>
implements Umadb.AppendRequestOrBuilder
Request payload for writing new events to the store.Protobuf type
umadb.v1.AppendRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllEvents(Iterable<? extends Umadb.Event> values) The list of new events to commit to the log.addEvents(int index, Umadb.Event value) The list of new events to commit to the log.addEvents(int index, Umadb.Event.Builder builderForValue) The list of new events to commit to the log.addEvents(Umadb.Event value) The list of new events to commit to the log.addEvents(Umadb.Event.Builder builderForValue) The list of new events to commit to the log.The list of new events to commit to the log.addEventsBuilder(int index) The list of new events to commit to the log.build()clear()Concurrency controls to apply before allowing the append.The list of new events to commit to the log.Optional checkpointing information to update the source's tracking cursor upon success.Concurrency controls to apply before allowing the append.Concurrency controls to apply before allowing the append.Concurrency controls to apply before allowing the append.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEvents(int index) The list of new events to commit to the log.getEventsBuilder(int index) The list of new events to commit to the log.The list of new events to commit to the log.intThe list of new events to commit to the log.The list of new events to commit to the log.getEventsOrBuilder(int index) The list of new events to commit to the log.List<? extends Umadb.EventOrBuilder> The list of new events to commit to the log.Optional checkpointing information to update the source's tracking cursor upon success.Optional checkpointing information to update the source's tracking cursor upon success.Optional checkpointing information to update the source's tracking cursor upon success.booleanConcurrency controls to apply before allowing the append.booleanOptional checkpointing information to update the source's tracking cursor upon success.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanConcurrency controls to apply before allowing the append.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Umadb.AppendRequest other) Optional checkpointing information to update the source's tracking cursor upon success.removeEvents(int index) The list of new events to commit to the log.Concurrency controls to apply before allowing the append.setCondition(Umadb.AppendCondition.Builder builderForValue) Concurrency controls to apply before allowing the append.setEvents(int index, Umadb.Event value) The list of new events to commit to the log.setEvents(int index, Umadb.Event.Builder builderForValue) The list of new events to commit to the log.Optional checkpointing information to update the source's tracking cursor upon success.setTrackingInfo(Umadb.TrackingInfo.Builder builderForValue) Optional checkpointing information to update the source's tracking cursor upon success.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Umadb.AppendRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Umadb.AppendRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Umadb.AppendRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Umadb.AppendRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Umadb.AppendRequest.Builder>
-
mergeFrom
public Umadb.AppendRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Umadb.AppendRequest.Builder>- Throws:
IOException
-
getEventsList
The list of new events to commit to the log.
repeated .umadb.v1.Event events = 1;- Specified by:
getEventsListin interfaceUmadb.AppendRequestOrBuilder
-
getEventsCount
public int getEventsCount()The list of new events to commit to the log.
repeated .umadb.v1.Event events = 1;- Specified by:
getEventsCountin interfaceUmadb.AppendRequestOrBuilder
-
getEvents
The list of new events to commit to the log.
repeated .umadb.v1.Event events = 1;- Specified by:
getEventsin interfaceUmadb.AppendRequestOrBuilder
-
setEvents
The list of new events to commit to the log.
repeated .umadb.v1.Event events = 1; -
setEvents
The list of new events to commit to the log.
repeated .umadb.v1.Event events = 1; -
addEvents
The list of new events to commit to the log.
repeated .umadb.v1.Event events = 1; -
addEvents
The list of new events to commit to the log.
repeated .umadb.v1.Event events = 1; -
addEvents
The list of new events to commit to the log.
repeated .umadb.v1.Event events = 1; -
addEvents
The list of new events to commit to the log.
repeated .umadb.v1.Event events = 1; -
addAllEvents
The list of new events to commit to the log.
repeated .umadb.v1.Event events = 1; -
clearEvents
The list of new events to commit to the log.
repeated .umadb.v1.Event events = 1; -
removeEvents
The list of new events to commit to the log.
repeated .umadb.v1.Event events = 1; -
getEventsBuilder
The list of new events to commit to the log.
repeated .umadb.v1.Event events = 1; -
getEventsOrBuilder
The list of new events to commit to the log.
repeated .umadb.v1.Event events = 1;- Specified by:
getEventsOrBuilderin interfaceUmadb.AppendRequestOrBuilder
-
getEventsOrBuilderList
The list of new events to commit to the log.
repeated .umadb.v1.Event events = 1;- Specified by:
getEventsOrBuilderListin interfaceUmadb.AppendRequestOrBuilder
-
addEventsBuilder
The list of new events to commit to the log.
repeated .umadb.v1.Event events = 1; -
addEventsBuilder
The list of new events to commit to the log.
repeated .umadb.v1.Event events = 1; -
getEventsBuilderList
The list of new events to commit to the log.
repeated .umadb.v1.Event events = 1; -
hasCondition
public boolean hasCondition()Concurrency controls to apply before allowing the append.
optional .umadb.v1.AppendCondition condition = 2;- Specified by:
hasConditionin interfaceUmadb.AppendRequestOrBuilder- Returns:
- Whether the condition field is set.
-
getCondition
Concurrency controls to apply before allowing the append.
optional .umadb.v1.AppendCondition condition = 2;- Specified by:
getConditionin interfaceUmadb.AppendRequestOrBuilder- Returns:
- The condition.
-
setCondition
Concurrency controls to apply before allowing the append.
optional .umadb.v1.AppendCondition condition = 2; -
setCondition
Concurrency controls to apply before allowing the append.
optional .umadb.v1.AppendCondition condition = 2; -
mergeCondition
Concurrency controls to apply before allowing the append.
optional .umadb.v1.AppendCondition condition = 2; -
clearCondition
Concurrency controls to apply before allowing the append.
optional .umadb.v1.AppendCondition condition = 2; -
getConditionBuilder
Concurrency controls to apply before allowing the append.
optional .umadb.v1.AppendCondition condition = 2; -
getConditionOrBuilder
Concurrency controls to apply before allowing the append.
optional .umadb.v1.AppendCondition condition = 2;- Specified by:
getConditionOrBuilderin interfaceUmadb.AppendRequestOrBuilder
-
hasTrackingInfo
public boolean hasTrackingInfo()Optional checkpointing information to update the source's tracking cursor upon success.
optional .umadb.v1.TrackingInfo tracking_info = 3;- Specified by:
hasTrackingInfoin interfaceUmadb.AppendRequestOrBuilder- Returns:
- Whether the trackingInfo field is set.
-
getTrackingInfo
Optional checkpointing information to update the source's tracking cursor upon success.
optional .umadb.v1.TrackingInfo tracking_info = 3;- Specified by:
getTrackingInfoin interfaceUmadb.AppendRequestOrBuilder- Returns:
- The trackingInfo.
-
setTrackingInfo
Optional checkpointing information to update the source's tracking cursor upon success.
optional .umadb.v1.TrackingInfo tracking_info = 3; -
setTrackingInfo
Optional checkpointing information to update the source's tracking cursor upon success.
optional .umadb.v1.TrackingInfo tracking_info = 3; -
mergeTrackingInfo
Optional checkpointing information to update the source's tracking cursor upon success.
optional .umadb.v1.TrackingInfo tracking_info = 3; -
clearTrackingInfo
Optional checkpointing information to update the source's tracking cursor upon success.
optional .umadb.v1.TrackingInfo tracking_info = 3; -
getTrackingInfoBuilder
Optional checkpointing information to update the source's tracking cursor upon success.
optional .umadb.v1.TrackingInfo tracking_info = 3; -
getTrackingInfoOrBuilder
Optional checkpointing information to update the source's tracking cursor upon success.
optional .umadb.v1.TrackingInfo tracking_info = 3;- Specified by:
getTrackingInfoOrBuilderin interfaceUmadb.AppendRequestOrBuilder
-