Package s2.v1

Interface StreamPositionOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getSeqNum()
      Sequence number assigned by the service.
      long getTimestamp()
      Timestamp, which may be user-specified or assigned by the service.
      • 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

      • getSeqNum

        long getSeqNum()
         Sequence number assigned by the service.
         
        uint64 seq_num = 1;
        Returns:
        The seqNum.
      • getTimestamp

        long getTimestamp()
         Timestamp, which may be user-specified or assigned by the service.
         If it is assigned by the service, it will represent milliseconds since Unix epoch.
         
        uint64 timestamp = 2;
        Returns:
        The timestamp.