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 interfaceCursorServiceGrpc.AsyncServiceThe service that a subscriber client application uses to manage committed cursors while receiving messsages.static classCursorServiceGrpc.CursorServiceBlockingStubA stub to allow clients to do synchronous rpc calls to service CursorService.static classCursorServiceGrpc.CursorServiceFutureStubA stub to allow clients to do ListenableFuture-style rpc calls to service CursorService.static classCursorServiceGrpc.CursorServiceImplBaseBase class for the server implementation of the service CursorService.static classCursorServiceGrpc.CursorServiceStubA stub to allow clients to do asynchronous rpc calls to service CursorService.
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.grpc.ServerServiceDefinitionbindService(CursorServiceGrpc.AsyncService service)static io.grpc.MethodDescriptor<CommitCursorRequest,CommitCursorResponse>getCommitCursorMethod()static io.grpc.MethodDescriptor<ListPartitionCursorsRequest,ListPartitionCursorsResponse>getListPartitionCursorsMethod()static io.grpc.ServiceDescriptorgetServiceDescriptor()static io.grpc.MethodDescriptor<StreamingCommitCursorRequest,StreamingCommitCursorResponse>getStreamingCommitCursorMethod()static CursorServiceGrpc.CursorServiceBlockingStubnewBlockingStub(io.grpc.Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic CursorServiceGrpc.CursorServiceFutureStubnewFutureStub(io.grpc.Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic CursorServiceGrpc.CursorServiceStubnewStub(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()
-
-