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 longgetEndSeqNum()Sequence number of last record appended + 1.longgetNextSeqNum()Sequence number of last durable record on the stream + 1.longgetStartSeqNum()Sequence number of 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.
 
 
- 
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.
 
 
- 
getNextSeqNum
long getNextSeqNum()
Sequence number of last durable record on the stream + 1. This can be greater than `end_seq_num` in case of concurrent appends.
uint64 next_seq_num = 3;- Returns:
 - The nextSeqNum.
 
 
 - 
 
 -