Class CursorServiceGrpc.CursorServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<CursorServiceGrpc.CursorServiceStub>
com.google.cloud.pubsublite.proto.CursorServiceGrpc.CursorServiceStub
- Enclosing class:
- CursorServiceGrpc
public static final class CursorServiceGrpc.CursorServiceStub
extends io.grpc.stub.AbstractAsyncStub<CursorServiceGrpc.CursorServiceStub>
A stub to allow clients to do asynchronous rpc calls to service CursorService.
The service that a subscriber client application uses to manage committed cursors while receiving messsages. A cursor represents a subscriber's progress within a topic partition for a given subscription.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected CursorServiceGrpc.CursorServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcommitCursor(CommitCursorRequest request, io.grpc.stub.StreamObserver<CommitCursorResponse> responseObserver) Updates the committed cursor.voidlistPartitionCursors(ListPartitionCursorsRequest request, io.grpc.stub.StreamObserver<ListPartitionCursorsResponse> responseObserver) Returns all committed cursor information for a subscription.io.grpc.stub.StreamObserver<StreamingCommitCursorRequest>streamingCommitCursor(io.grpc.stub.StreamObserver<StreamingCommitCursorResponse> responseObserver) Establishes a stream with the server for managing committed cursors.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
protected CursorServiceGrpc.CursorServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<CursorServiceGrpc.CursorServiceStub>
-
streamingCommitCursor
public io.grpc.stub.StreamObserver<StreamingCommitCursorRequest> streamingCommitCursor(io.grpc.stub.StreamObserver<StreamingCommitCursorResponse> responseObserver) Establishes a stream with the server for managing committed cursors.
-
commitCursor
public void commitCursor(CommitCursorRequest request, io.grpc.stub.StreamObserver<CommitCursorResponse> responseObserver) Updates the committed cursor.
-
listPartitionCursors
public void listPartitionCursors(ListPartitionCursorsRequest request, io.grpc.stub.StreamObserver<ListPartitionCursorsResponse> responseObserver) Returns all committed cursor information for a subscription.
-