Interface AppendEventsRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AppendEventsRequest,AppendEventsRequest.Builder
@Generated public interface AppendEventsRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConsistencyConditiongetCondition()The condition used to check the validity of this request.ConsistencyConditionOrBuildergetConditionOrBuilder()The condition used to check the validity of this request.TaggedEventgetEvent(int index)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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCondition
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;- Returns:
- Whether the condition field is set.
-
getCondition
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;- Returns:
- The condition.
-
getConditionOrBuilder
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;
-
getEventList
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;
-
getEvent
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;
-
getEventCount
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;
-
getEventOrBuilderList
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;
-
getEventOrBuilder
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;
-
-