Package s2.v1alpha
Interface ReadSessionRequestOrBuilder
- 
- All Superinterfaces:
- com.google.protobuf.MessageLiteOrBuilder,- com.google.protobuf.MessageOrBuilder
 - All Known Implementing Classes:
- ReadSessionRequest,- ReadSessionRequest.Builder
 
 public interface ReadSessionRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description ReadLimitgetLimit()Limit on how many records can be returned.ReadLimitOrBuildergetLimitOrBuilder()Limit on how many records can be returned.longgetStartSeqNum()Starting sequence number (inclusive).java.lang.StringgetStream()Stream name.com.google.protobuf.ByteStringgetStreamBytes()Stream name.booleanhasLimit()Limit on how many records can be returned.- 
Methods inherited from interface com.google.protobuf.MessageOrBuilderfindInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
 
- 
 
- 
- 
- 
Method Detail- 
getStreamjava.lang.String getStream() Stream name. string stream = 1;- Returns:
- The stream.
 
 - 
getStreamBytescom.google.protobuf.ByteString getStreamBytes() Stream name. string stream = 1;- Returns:
- The bytes for stream.
 
 - 
getStartSeqNumlong getStartSeqNum() Starting sequence number (inclusive). uint64 start_seq_num = 2;- Returns:
- The startSeqNum.
 
 - 
hasLimitboolean hasLimit() Limit on how many records can be returned. When a limit is specified, the session will be terminated as soon as the limit is met, or when the current tail of the stream is reached -- whichever occurs first. If no limit is specified, the session will remain open after catching up to the tail, and continue tailing as new messages are written to the stream. .s2.v1alpha.ReadLimit limit = 3;- Returns:
- Whether the limit field is set.
 
 - 
getLimitReadLimit getLimit() Limit on how many records can be returned. When a limit is specified, the session will be terminated as soon as the limit is met, or when the current tail of the stream is reached -- whichever occurs first. If no limit is specified, the session will remain open after catching up to the tail, and continue tailing as new messages are written to the stream. .s2.v1alpha.ReadLimit limit = 3;- Returns:
- The limit.
 
 - 
getLimitOrBuilderReadLimitOrBuilder getLimitOrBuilder() Limit on how many records can be returned. When a limit is specified, the session will be terminated as soon as the limit is met, or when the current tail of the stream is reached -- whichever occurs first. If no limit is specified, the session will remain open after catching up to the tail, and continue tailing as new messages are written to the stream. .s2.v1alpha.ReadLimit limit = 3;
 
- 
 
-