Interface AppendEventsResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AppendEventsResponse,AppendEventsResponse.Builder
@Generated public interface AppendEventsResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetConsistencyMarker()The consistency marker which may be used for a subsequent append events requests.longgetSequenceOfTheFirstEvent()The sequence of the first event stored in the event store.intgetTransactionSize()The number of events appended.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSequenceOfTheFirstEvent
long getSequenceOfTheFirstEvent()
The sequence of the first event stored in the event store. Corresponding to the list of events (a transaction) passed in the AppendEventsRequest.
int64 sequence_of_the_first_event = 1;- Returns:
- The sequenceOfTheFirstEvent.
-
getTransactionSize
int getTransactionSize()
The number of events appended. Matches the number of events passed in the AppendEventsRequest.
int32 transaction_size = 2;- Returns:
- The transactionSize.
-
getConsistencyMarker
long getConsistencyMarker()
The consistency marker which may be used for a subsequent append events requests. Do note that during the time this consistency marker may get far behind the head of the event store which will increase the time needed for the append events request to be validated. If you don't plan to do subsequent append events requests in a "short" period of time, use the Source RPC to refresh the consistency marker.
int64 consistency_marker = 3;- Returns:
- The consistencyMarker.
-
-