Package io.axoniq.axonserver.grpc.event
Interface GetAggregateEventsRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GetAggregateEventsRequest,GetAggregateEventsRequest.Builder
@Generated public interface GetAggregateEventsRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAggregateId()The identifier of the aggregate to read events forcom.google.protobuf.ByteStringgetAggregateIdBytes()The identifier of the aggregate to read events forbooleangetAllowSnapshots()Whether a snapshot may be returned as first element in the streamlonggetInitialSequence()The sequence number of the first event to receivelonggetMaxSequence()The maximum sequence number (inclusive) of the events to retrieve, 0 means up to last eventlonggetMinToken()Hint for a minimum token to search events from-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAggregateId
String getAggregateId()
The identifier of the aggregate to read events for
string aggregate_id = 1;- Returns:
- The aggregateId.
-
getAggregateIdBytes
com.google.protobuf.ByteString getAggregateIdBytes()
The identifier of the aggregate to read events for
string aggregate_id = 1;- Returns:
- The bytes for aggregateId.
-
getInitialSequence
long getInitialSequence()
The sequence number of the first event to receive
int64 initial_sequence = 2;- Returns:
- The initialSequence.
-
getAllowSnapshots
boolean getAllowSnapshots()
Whether a snapshot may be returned as first element in the stream
bool allow_snapshots = 3;- Returns:
- The allowSnapshots.
-
getMaxSequence
long getMaxSequence()
The maximum sequence number (inclusive) of the events to retrieve, 0 means up to last event
int64 max_sequence = 4;- Returns:
- The maxSequence.
-
getMinToken
long getMinToken()
Hint for a minimum token to search events from
int64 min_token = 5;- Returns:
- The minToken.
-
-