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 Classes Modifier and Type Class Description static interface
CursorServiceGrpc.AsyncService
The service that a subscriber client application uses to manage committed cursors while receiving messsages.static class
CursorServiceGrpc.CursorServiceBlockingStub
A stub to allow clients to do synchronous rpc calls to service CursorService.static class
CursorServiceGrpc.CursorServiceFutureStub
A stub to allow clients to do ListenableFuture-style rpc calls to service CursorService.static class
CursorServiceGrpc.CursorServiceImplBase
Base class for the server implementation of the service CursorService.static class
CursorServiceGrpc.CursorServiceStub
A stub to allow clients to do asynchronous rpc calls to service CursorService.
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.grpc.ServerServiceDefinition
bindService(CursorServiceGrpc.AsyncService service)
static io.grpc.MethodDescriptor<CommitCursorRequest,CommitCursorResponse>
getCommitCursorMethod()
static io.grpc.MethodDescriptor<ListPartitionCursorsRequest,ListPartitionCursorsResponse>
getListPartitionCursorsMethod()
static io.grpc.ServiceDescriptor
getServiceDescriptor()
static io.grpc.MethodDescriptor<StreamingCommitCursorRequest,StreamingCommitCursorResponse>
getStreamingCommitCursorMethod()
static CursorServiceGrpc.CursorServiceBlockingStub
newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic CursorServiceGrpc.CursorServiceFutureStub
newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic CursorServiceGrpc.CursorServiceStub
newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
-
-
Field Detail
-
SERVICE_NAME
public static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
public static CursorServiceGrpc.CursorServiceStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static CursorServiceGrpc.CursorServiceBlockingStub newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static CursorServiceGrpc.CursorServiceFutureStub newFutureStub(io.grpc.Channel channel)
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()
-
-