Package s2.v1alpha
Interface ReadOutputOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReadOutput
,ReadOutput.Builder
public interface ReadOutputOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SequencedRecordBatch
getBatch()
Batch of records.SequencedRecordBatchOrBuilder
getBatchOrBuilder()
Batch of records.long
getNextSeqNum()
Tail of the stream, i.e.ReadOutput.OutputCase
getOutputCase()
boolean
hasBatch()
Batch of records.boolean
hasNextSeqNum()
Tail of the stream, i.e.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasBatch
boolean hasBatch()
Batch of records. It can only be empty when not in a session context, if the request cannot be satisfied without violating its limit.
.s2.v1alpha.SequencedRecordBatch batch = 1;
- Returns:
- Whether the batch field is set.
-
getBatch
SequencedRecordBatch getBatch()
Batch of records. It can only be empty when not in a session context, if the request cannot be satisfied without violating its limit.
.s2.v1alpha.SequencedRecordBatch batch = 1;
- Returns:
- The batch.
-
getBatchOrBuilder
SequencedRecordBatchOrBuilder getBatchOrBuilder()
Batch of records. It can only be empty when not in a session context, if the request cannot be satisfied without violating its limit.
.s2.v1alpha.SequencedRecordBatch batch = 1;
-
hasNextSeqNum
boolean hasNextSeqNum()
Tail of the stream, i.e. sequence number that will be assigned to the next record. It will be returned if the requested starting position is greater than the tail, or only in case of a limited read, equal to it. It will also be returned if there are no records on the stream between the requested starting position and the tail.
uint64 next_seq_num = 3;
- Returns:
- Whether the nextSeqNum field is set.
-
getNextSeqNum
long getNextSeqNum()
Tail of the stream, i.e. sequence number that will be assigned to the next record. It will be returned if the requested starting position is greater than the tail, or only in case of a limited read, equal to it. It will also be returned if there are no records on the stream between the requested starting position and the tail.
uint64 next_seq_num = 3;
- Returns:
- The nextSeqNum.
-
getOutputCase
ReadOutput.OutputCase getOutputCase()
-
-