Class CursorServiceGrpc
java.lang.Object
com.google.cloud.pubsublite.proto.CursorServiceGrpc
@Generated(value="by gRPC proto compiler",
comments="Source: google/cloud/pubsublite/v1/cursor.proto")
public final class CursorServiceGrpc
extends Object
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 ClassesModifier and TypeClassDescriptionstatic interfaceThe service that a subscriber client application uses to manage committed cursors while receiving messsages.static final classA stub to allow clients to do synchronous rpc calls to service CursorService.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service CursorService.static classBase class for the server implementation of the service CursorService.static final classA stub to allow clients to do asynchronous rpc calls to service CursorService. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionstatic io.grpc.MethodDescriptor<CommitCursorRequest,CommitCursorResponse> static io.grpc.MethodDescriptor<ListPartitionCursorsRequest,ListPartitionCursorsResponse> static io.grpc.ServiceDescriptorstatic io.grpc.MethodDescriptor<StreamingCommitCursorRequest,StreamingCommitCursorResponse> newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicenewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getStreamingCommitCursorMethod
public static io.grpc.MethodDescriptor<StreamingCommitCursorRequest,StreamingCommitCursorResponse> getStreamingCommitCursorMethod() -
getCommitCursorMethod
public static io.grpc.MethodDescriptor<CommitCursorRequest,CommitCursorResponse> getCommitCursorMethod() -
getListPartitionCursorsMethod
public static io.grpc.MethodDescriptor<ListPartitionCursorsRequest,ListPartitionCursorsResponse> getListPartitionCursorsMethod() -
newStub
Creates a new async stub that supports all call types for the service -
newBlockingStub
Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
public static final io.grpc.ServerServiceDefinition bindService(CursorServiceGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-