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 classReadSessionRequest.ReadSessionRequestBuilder
-
Field Summary
Fields Modifier and Type Field Description booleanheartbeatsReadLimitreadLimitStartstart
-
Constructor Summary
Constructors Modifier Constructor Description protectedReadSessionRequest(Start start, ReadLimit readLimit, boolean heartbeats)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReadSessionRequest.ReadSessionRequestBuildernewBuilder()s2.v1alpha.ReadSessionRequesttoProto(java.lang.String streamName)ReadSessionRequestupdate(Start start, long consumedRecords, long consumedBytes)
-
-
-
Method Detail
-
newBuilder
public static ReadSessionRequest.ReadSessionRequestBuilder newBuilder()
-
update
public ReadSessionRequest update(Start start, long consumedRecords, long consumedBytes)
-
toProto
public s2.v1alpha.ReadSessionRequest toProto(java.lang.String streamName)
-
-