Class AppendEventsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<AppendEventsRequest.Builder>
-
- io.axoniq.axonserver.grpc.event.dcb.AppendEventsRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,AppendEventsRequestOrBuilder,Cloneable
- Enclosing class:
- AppendEventsRequest
public static final class AppendEventsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<AppendEventsRequest.Builder> implements AppendEventsRequestOrBuilder
The message representing the request to append events to the event store.
Protobuf typeio.axoniq.axonserver.grpc.event.dcb.AppendEventsRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AppendEventsRequest.BuilderaddAllEvent(Iterable<? extends TaggedEvent> values)A list of tagged events to be appended to the event store if the condition is met.AppendEventsRequest.BuilderaddEvent(int index, TaggedEvent value)A list of tagged events to be appended to the event store if the condition is met.AppendEventsRequest.BuilderaddEvent(int index, TaggedEvent.Builder builderForValue)A list of tagged events to be appended to the event store if the condition is met.AppendEventsRequest.BuilderaddEvent(TaggedEvent value)A list of tagged events to be appended to the event store if the condition is met.AppendEventsRequest.BuilderaddEvent(TaggedEvent.Builder builderForValue)A list of tagged events to be appended to the event store if the condition is met.TaggedEvent.BuilderaddEventBuilder()A list of tagged events to be appended to the event store if the condition is met.TaggedEvent.BuilderaddEventBuilder(int index)A list of tagged events to be appended to the event store if the condition is met.AppendEventsRequestbuild()AppendEventsRequestbuildPartial()AppendEventsRequest.Builderclear()AppendEventsRequest.BuilderclearCondition()The condition used to check the validity of this request.AppendEventsRequest.BuilderclearEvent()A list of tagged events to be appended to the event store if the condition is met.ConsistencyConditiongetCondition()The condition used to check the validity of this request.ConsistencyCondition.BuildergetConditionBuilder()The condition used to check the validity of this request.ConsistencyConditionOrBuildergetConditionOrBuilder()The condition used to check the validity of this request.AppendEventsRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()TaggedEventgetEvent(int index)A list of tagged events to be appended to the event store if the condition is met.TaggedEvent.BuildergetEventBuilder(int index)A list of tagged events to be appended to the event store if the condition is met.List<TaggedEvent.Builder>getEventBuilderList()A list of tagged events to be appended to the event store if the condition is met.intgetEventCount()A list of tagged events to be appended to the event store if the condition is met.List<TaggedEvent>getEventList()A list of tagged events to be appended to the event store if the condition is met.TaggedEventOrBuildergetEventOrBuilder(int index)A list of tagged events to be appended to the event store if the condition is met.List<? extends TaggedEventOrBuilder>getEventOrBuilderList()A list of tagged events to be appended to the event store if the condition is met.booleanhasCondition()The condition used to check the validity of this request.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AppendEventsRequest.BuildermergeCondition(ConsistencyCondition value)The condition used to check the validity of this request.AppendEventsRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AppendEventsRequest.BuildermergeFrom(com.google.protobuf.Message other)AppendEventsRequest.BuildermergeFrom(AppendEventsRequest other)AppendEventsRequest.BuilderremoveEvent(int index)A list of tagged events to be appended to the event store if the condition is met.AppendEventsRequest.BuildersetCondition(ConsistencyCondition value)The condition used to check the validity of this request.AppendEventsRequest.BuildersetCondition(ConsistencyCondition.Builder builderForValue)The condition used to check the validity of this request.AppendEventsRequest.BuildersetEvent(int index, TaggedEvent value)A list of tagged events to be appended to the event store if the condition is met.AppendEventsRequest.BuildersetEvent(int index, TaggedEvent.Builder builderForValue)A list of tagged events to be appended to the event store if the condition is met.-
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, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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<AppendEventsRequest.Builder>
-
clear
public AppendEventsRequest.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<AppendEventsRequest.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<AppendEventsRequest.Builder>
-
getDefaultInstanceForType
public AppendEventsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AppendEventsRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AppendEventsRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public AppendEventsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AppendEventsRequest.Builder>
-
mergeFrom
public AppendEventsRequest.Builder mergeFrom(AppendEventsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AppendEventsRequest.Builder>
-
mergeFrom
public AppendEventsRequest.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<AppendEventsRequest.Builder>- Throws:
IOException
-
hasCondition
public boolean hasCondition()
The condition used to check the validity of this request. If omitted, events will be appended unconditionally.
.io.axoniq.axonserver.grpc.event.dcb.ConsistencyCondition condition = 1;- Specified by:
hasConditionin interfaceAppendEventsRequestOrBuilder- Returns:
- Whether the condition field is set.
-
getCondition
public ConsistencyCondition getCondition()
The condition used to check the validity of this request. If omitted, events will be appended unconditionally.
.io.axoniq.axonserver.grpc.event.dcb.ConsistencyCondition condition = 1;- Specified by:
getConditionin interfaceAppendEventsRequestOrBuilder- Returns:
- The condition.
-
setCondition
public AppendEventsRequest.Builder setCondition(ConsistencyCondition value)
The condition used to check the validity of this request. If omitted, events will be appended unconditionally.
.io.axoniq.axonserver.grpc.event.dcb.ConsistencyCondition condition = 1;
-
setCondition
public AppendEventsRequest.Builder setCondition(ConsistencyCondition.Builder builderForValue)
The condition used to check the validity of this request. If omitted, events will be appended unconditionally.
.io.axoniq.axonserver.grpc.event.dcb.ConsistencyCondition condition = 1;
-
mergeCondition
public AppendEventsRequest.Builder mergeCondition(ConsistencyCondition value)
The condition used to check the validity of this request. If omitted, events will be appended unconditionally.
.io.axoniq.axonserver.grpc.event.dcb.ConsistencyCondition condition = 1;
-
clearCondition
public AppendEventsRequest.Builder clearCondition()
The condition used to check the validity of this request. If omitted, events will be appended unconditionally.
.io.axoniq.axonserver.grpc.event.dcb.ConsistencyCondition condition = 1;
-
getConditionBuilder
public ConsistencyCondition.Builder getConditionBuilder()
The condition used to check the validity of this request. If omitted, events will be appended unconditionally.
.io.axoniq.axonserver.grpc.event.dcb.ConsistencyCondition condition = 1;
-
getConditionOrBuilder
public ConsistencyConditionOrBuilder getConditionOrBuilder()
The condition used to check the validity of this request. If omitted, events will be appended unconditionally.
.io.axoniq.axonserver.grpc.event.dcb.ConsistencyCondition condition = 1;- Specified by:
getConditionOrBuilderin interfaceAppendEventsRequestOrBuilder
-
getEventList
public List<TaggedEvent> getEventList()
A list of tagged events to be appended to the event store if the condition is met. These events are considered as a transaction - they are either all appended or none of them are appended. The event store will index the events based on provided tags for future faster retrieval.
repeated .io.axoniq.axonserver.grpc.event.dcb.TaggedEvent event = 2;- Specified by:
getEventListin interfaceAppendEventsRequestOrBuilder
-
getEventCount
public int getEventCount()
A list of tagged events to be appended to the event store if the condition is met. These events are considered as a transaction - they are either all appended or none of them are appended. The event store will index the events based on provided tags for future faster retrieval.
repeated .io.axoniq.axonserver.grpc.event.dcb.TaggedEvent event = 2;- Specified by:
getEventCountin interfaceAppendEventsRequestOrBuilder
-
getEvent
public TaggedEvent getEvent(int index)
A list of tagged events to be appended to the event store if the condition is met. These events are considered as a transaction - they are either all appended or none of them are appended. The event store will index the events based on provided tags for future faster retrieval.
repeated .io.axoniq.axonserver.grpc.event.dcb.TaggedEvent event = 2;- Specified by:
getEventin interfaceAppendEventsRequestOrBuilder
-
setEvent
public AppendEventsRequest.Builder setEvent(int index, TaggedEvent value)
A list of tagged events to be appended to the event store if the condition is met. These events are considered as a transaction - they are either all appended or none of them are appended. The event store will index the events based on provided tags for future faster retrieval.
repeated .io.axoniq.axonserver.grpc.event.dcb.TaggedEvent event = 2;
-
setEvent
public AppendEventsRequest.Builder setEvent(int index, TaggedEvent.Builder builderForValue)
A list of tagged events to be appended to the event store if the condition is met. These events are considered as a transaction - they are either all appended or none of them are appended. The event store will index the events based on provided tags for future faster retrieval.
repeated .io.axoniq.axonserver.grpc.event.dcb.TaggedEvent event = 2;
-
addEvent
public AppendEventsRequest.Builder addEvent(TaggedEvent value)
A list of tagged events to be appended to the event store if the condition is met. These events are considered as a transaction - they are either all appended or none of them are appended. The event store will index the events based on provided tags for future faster retrieval.
repeated .io.axoniq.axonserver.grpc.event.dcb.TaggedEvent event = 2;
-
addEvent
public AppendEventsRequest.Builder addEvent(int index, TaggedEvent value)
A list of tagged events to be appended to the event store if the condition is met. These events are considered as a transaction - they are either all appended or none of them are appended. The event store will index the events based on provided tags for future faster retrieval.
repeated .io.axoniq.axonserver.grpc.event.dcb.TaggedEvent event = 2;
-
addEvent
public AppendEventsRequest.Builder addEvent(TaggedEvent.Builder builderForValue)
A list of tagged events to be appended to the event store if the condition is met. These events are considered as a transaction - they are either all appended or none of them are appended. The event store will index the events based on provided tags for future faster retrieval.
repeated .io.axoniq.axonserver.grpc.event.dcb.TaggedEvent event = 2;
-
addEvent
public AppendEventsRequest.Builder addEvent(int index, TaggedEvent.Builder builderForValue)
A list of tagged events to be appended to the event store if the condition is met. These events are considered as a transaction - they are either all appended or none of them are appended. The event store will index the events based on provided tags for future faster retrieval.
repeated .io.axoniq.axonserver.grpc.event.dcb.TaggedEvent event = 2;
-
addAllEvent
public AppendEventsRequest.Builder addAllEvent(Iterable<? extends TaggedEvent> values)
A list of tagged events to be appended to the event store if the condition is met. These events are considered as a transaction - they are either all appended or none of them are appended. The event store will index the events based on provided tags for future faster retrieval.
repeated .io.axoniq.axonserver.grpc.event.dcb.TaggedEvent event = 2;
-
clearEvent
public AppendEventsRequest.Builder clearEvent()
A list of tagged events to be appended to the event store if the condition is met. These events are considered as a transaction - they are either all appended or none of them are appended. The event store will index the events based on provided tags for future faster retrieval.
repeated .io.axoniq.axonserver.grpc.event.dcb.TaggedEvent event = 2;
-
removeEvent
public AppendEventsRequest.Builder removeEvent(int index)
A list of tagged events to be appended to the event store if the condition is met. These events are considered as a transaction - they are either all appended or none of them are appended. The event store will index the events based on provided tags for future faster retrieval.
repeated .io.axoniq.axonserver.grpc.event.dcb.TaggedEvent event = 2;
-
getEventBuilder
public TaggedEvent.Builder getEventBuilder(int index)
A list of tagged events to be appended to the event store if the condition is met. These events are considered as a transaction - they are either all appended or none of them are appended. The event store will index the events based on provided tags for future faster retrieval.
repeated .io.axoniq.axonserver.grpc.event.dcb.TaggedEvent event = 2;
-
getEventOrBuilder
public TaggedEventOrBuilder getEventOrBuilder(int index)
A list of tagged events to be appended to the event store if the condition is met. These events are considered as a transaction - they are either all appended or none of them are appended. The event store will index the events based on provided tags for future faster retrieval.
repeated .io.axoniq.axonserver.grpc.event.dcb.TaggedEvent event = 2;- Specified by:
getEventOrBuilderin interfaceAppendEventsRequestOrBuilder
-
getEventOrBuilderList
public List<? extends TaggedEventOrBuilder> getEventOrBuilderList()
A list of tagged events to be appended to the event store if the condition is met. These events are considered as a transaction - they are either all appended or none of them are appended. The event store will index the events based on provided tags for future faster retrieval.
repeated .io.axoniq.axonserver.grpc.event.dcb.TaggedEvent event = 2;- Specified by:
getEventOrBuilderListin interfaceAppendEventsRequestOrBuilder
-
addEventBuilder
public TaggedEvent.Builder addEventBuilder()
A list of tagged events to be appended to the event store if the condition is met. These events are considered as a transaction - they are either all appended or none of them are appended. The event store will index the events based on provided tags for future faster retrieval.
repeated .io.axoniq.axonserver.grpc.event.dcb.TaggedEvent event = 2;
-
addEventBuilder
public TaggedEvent.Builder addEventBuilder(int index)
A list of tagged events to be appended to the event store if the condition is met. These events are considered as a transaction - they are either all appended or none of them are appended. The event store will index the events based on provided tags for future faster retrieval.
repeated .io.axoniq.axonserver.grpc.event.dcb.TaggedEvent event = 2;
-
getEventBuilderList
public List<TaggedEvent.Builder> getEventBuilderList()
A list of tagged events to be appended to the event store if the condition is met. These events are considered as a transaction - they are either all appended or none of them are appended. The event store will index the events based on provided tags for future faster retrieval.
repeated .io.axoniq.axonserver.grpc.event.dcb.TaggedEvent event = 2;
-
-