Package s2.v1alpha
Interface AppendOutputOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AppendOutput
,AppendOutput.Builder
public interface AppendOutputOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getEndSeqNum()
Sequence number of last record appended + 1.long
getEndTimestamp()
Timestamp of the last record appended.long
getLastTimestamp()
Timestamp of the last durable record on the stream.long
getNextSeqNum()
Tail of the stream, i.e.long
getStartSeqNum()
Sequence number of first record appended.long
getStartTimestamp()
Timestamp of the first record appended.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getStartSeqNum
long getStartSeqNum()
Sequence number of first record appended.
uint64 start_seq_num = 1;
- Returns:
- The startSeqNum.
-
getStartTimestamp
long getStartTimestamp()
Timestamp of the first record appended.
uint64 start_timestamp = 4;
- Returns:
- The startTimestamp.
-
getEndSeqNum
long getEndSeqNum()
Sequence number of last record appended + 1. `end_seq_num - start_seq_num` will be the number of records in the batch.
uint64 end_seq_num = 2;
- Returns:
- The endSeqNum.
-
getEndTimestamp
long getEndTimestamp()
Timestamp of the last record appended.
uint64 end_timestamp = 5;
- Returns:
- The endTimestamp.
-
getNextSeqNum
long getNextSeqNum()
Tail of the stream, i.e. sequence number that will be assigned to the next record. This can be greater than `end_seq_num` in case of concurrent appends.
uint64 next_seq_num = 3;
- Returns:
- The nextSeqNum.
-
getLastTimestamp
long getLastTimestamp()
Timestamp of the last durable record on the stream.
uint64 last_timestamp = 6;
- Returns:
- The lastTimestamp.
-
-