Package s2.v1

Interface AppendAckOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    AppendAck, AppendAck.Builder

    public interface AppendAckOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      StreamPosition getEnd()
      Sequence number of the last record that was appended + 1, and timestamp of the last record that was appended.
      StreamPositionOrBuilder getEndOrBuilder()
      Sequence number of the last record that was appended + 1, and timestamp of the last record that was appended.
      StreamPosition getStart()
      Sequence number and timestamp of the first record that was appended.
      StreamPositionOrBuilder getStartOrBuilder()
      Sequence number and timestamp of the first record that was appended.
      StreamPosition getTail()
      Sequence number that will be assigned to the next record on the stream, and timestamp of the last record on the stream.
      StreamPositionOrBuilder getTailOrBuilder()
      Sequence number that will be assigned to the next record on the stream, and timestamp of the last record on the stream.
      boolean hasEnd()
      Sequence number of the last record that was appended + 1, and timestamp of the last record that was appended.
      boolean hasStart()
      Sequence number and timestamp of the first record that was appended.
      boolean hasTail()
      Sequence number that will be assigned to the next record on the stream, and timestamp of the last record on the stream.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasStart

        boolean hasStart()
         Sequence number and timestamp of the first record that was appended.
         
        .s2.v1.StreamPosition start = 1;
        Returns:
        Whether the start field is set.
      • getStart

        StreamPosition getStart()
         Sequence number and timestamp of the first record that was appended.
         
        .s2.v1.StreamPosition start = 1;
        Returns:
        The start.
      • getStartOrBuilder

        StreamPositionOrBuilder getStartOrBuilder()
         Sequence number and timestamp of the first record that was appended.
         
        .s2.v1.StreamPosition start = 1;
      • hasEnd

        boolean hasEnd()
         Sequence number of the last record that was appended + 1,
         and timestamp of the last record that was appended.
         The difference between `end.seq_num` and `start.seq_num`
         will be the number of records appended.
         
        .s2.v1.StreamPosition end = 2;
        Returns:
        Whether the end field is set.
      • getEnd

        StreamPosition getEnd()
         Sequence number of the last record that was appended + 1,
         and timestamp of the last record that was appended.
         The difference between `end.seq_num` and `start.seq_num`
         will be the number of records appended.
         
        .s2.v1.StreamPosition end = 2;
        Returns:
        The end.
      • getEndOrBuilder

        StreamPositionOrBuilder getEndOrBuilder()
         Sequence number of the last record that was appended + 1,
         and timestamp of the last record that was appended.
         The difference between `end.seq_num` and `start.seq_num`
         will be the number of records appended.
         
        .s2.v1.StreamPosition end = 2;
      • hasTail

        boolean hasTail()
         Sequence number that will be assigned to the next record on the stream,
         and timestamp of the last record on the stream.
         This can be greater than the `end` position in case of concurrent appends.
         
        .s2.v1.StreamPosition tail = 3;
        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 on the stream.
         This can be greater than the `end` position in case of concurrent appends.
         
        .s2.v1.StreamPosition tail = 3;
        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 on the stream.
         This can be greater than the `end` position in case of concurrent appends.
         
        .s2.v1.StreamPosition tail = 3;