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 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.