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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReadLimit
getLimit()
Limit on how many records can be returned.ReadLimitOrBuilder
getLimitOrBuilder()
Limit on how many records can be returned.long
getStartSeqNum()
Starting sequence number (inclusive).java.lang.String
getStream()
Stream name.com.google.protobuf.ByteString
getStreamBytes()
Stream name.boolean
hasLimit()
Limit on how many records can be returned.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getStream
java.lang.String getStream()
Stream name.
string stream = 1;
- Returns:
- The stream.
-
getStreamBytes
com.google.protobuf.ByteString getStreamBytes()
Stream name.
string stream = 1;
- Returns:
- The bytes for stream.
-
getStartSeqNum
long getStartSeqNum()
Starting sequence number (inclusive).
uint64 start_seq_num = 2;
- Returns:
- The startSeqNum.
-
hasLimit
boolean 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.
-
getLimit
ReadLimit 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.
-
getLimitOrBuilder
ReadLimitOrBuilder 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;
-
-