Package s2.types
Class ReadSessionRequest
- java.lang.Object
-
- s2.types.ReadSessionRequest
-
public class ReadSessionRequest extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReadSessionRequest.ReadSessionRequestBuilder
-
Field Summary
Fields Modifier and Type Field Description ReadLimit
readLimit
long
startSeqNum
-
Constructor Summary
Constructors Modifier Constructor Description protected
ReadSessionRequest(long startSeqNum, ReadLimit readLimit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReadSessionRequest.ReadSessionRequestBuilder
newBuilder()
s2.v1alpha.ReadSessionRequest
toProto()
s2.v1alpha.ReadSessionRequest
toProto(java.lang.String streamName)
ReadSessionRequest
update(long newStartSeqNum, long consumedRecords, long consumedBytes)
-
-
-
Field Detail
-
startSeqNum
public final long startSeqNum
-
readLimit
public final ReadLimit readLimit
-
-
Constructor Detail
-
ReadSessionRequest
protected ReadSessionRequest(long startSeqNum, ReadLimit readLimit)
-
-
Method Detail
-
newBuilder
public static ReadSessionRequest.ReadSessionRequestBuilder newBuilder()
-
update
public ReadSessionRequest update(long newStartSeqNum, long consumedRecords, long consumedBytes)
-
toProto
public s2.v1alpha.ReadSessionRequest toProto()
-
toProto
public s2.v1alpha.ReadSessionRequest toProto(java.lang.String streamName)
-
-