Package s2.v1
Interface ReadBatchOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReadBatch,ReadBatch.Builder
public interface ReadBatchOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SequencedRecordgetRecords(int index)Records that are durably sequenced on the stream, retrieved based on the requested criteria.intgetRecordsCount()Records that are durably sequenced on the stream, retrieved based on the requested criteria.java.util.List<SequencedRecord>getRecordsList()Records that are durably sequenced on the stream, retrieved based on the requested criteria.SequencedRecordOrBuildergetRecordsOrBuilder(int index)Records that are durably sequenced on the stream, retrieved based on the requested criteria.java.util.List<? extends SequencedRecordOrBuilder>getRecordsOrBuilderList()Records that are durably sequenced on the stream, retrieved based on the requested criteria.StreamPositiongetTail()Sequence number that will be assigned to the next record on the stream, and timestamp of the last record.StreamPositionOrBuildergetTailOrBuilder()Sequence number that will be assigned to the next record on the stream, and timestamp of the last record.booleanhasTail()Sequence number that will be assigned to the next record on the stream, and timestamp of the last record.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getRecordsList
java.util.List<SequencedRecord> getRecordsList()
Records that are durably sequenced on the stream, retrieved based on the requested criteria.
repeated .s2.v1.SequencedRecord records = 1;
-
getRecords
SequencedRecord getRecords(int index)
Records that are durably sequenced on the stream, retrieved based on the requested criteria.
repeated .s2.v1.SequencedRecord records = 1;
-
getRecordsCount
int getRecordsCount()
Records that are durably sequenced on the stream, retrieved based on the requested criteria.
repeated .s2.v1.SequencedRecord records = 1;
-
getRecordsOrBuilderList
java.util.List<? extends SequencedRecordOrBuilder> getRecordsOrBuilderList()
Records that are durably sequenced on the stream, retrieved based on the requested criteria.
repeated .s2.v1.SequencedRecord records = 1;
-
getRecordsOrBuilder
SequencedRecordOrBuilder getRecordsOrBuilder(int index)
Records that are durably sequenced on the stream, retrieved based on the requested criteria.
repeated .s2.v1.SequencedRecord records = 1;
-
hasTail
boolean hasTail()
Sequence number that will be assigned to the next record on the stream, and timestamp of the last record. This will only be present when reading recent records.
optional .s2.v1.StreamPosition tail = 2;- Returns:
- Whether the tail field is set.
-
getTail
StreamPosition getTail()
Sequence number that will be assigned to the next record on the stream, and timestamp of the last record. This will only be present when reading recent records.
optional .s2.v1.StreamPosition tail = 2;- Returns:
- The tail.
-
getTailOrBuilder
StreamPositionOrBuilder getTailOrBuilder()
Sequence number that will be assigned to the next record on the stream, and timestamp of the last record. This will only be present when reading recent records.
optional .s2.v1.StreamPosition tail = 2;
-
-