Class SubscriberServiceGrpc.SubscriberServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<SubscriberServiceGrpc.SubscriberServiceStub>
com.google.cloud.pubsublite.proto.SubscriberServiceGrpc.SubscriberServiceStub
- Enclosing class:
- SubscriberServiceGrpc
public static final class SubscriberServiceGrpc.SubscriberServiceStub
extends io.grpc.stub.AbstractAsyncStub<SubscriberServiceGrpc.SubscriberServiceStub>
A stub to allow clients to do asynchronous rpc calls to service SubscriberService.
The service that a subscriber client application uses to receive messages from subscriptions.
-
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 TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) io.grpc.stub.StreamObserver<SubscribeRequest>subscribe(io.grpc.stub.StreamObserver<SubscribeResponse> responseObserver) Establishes a stream with the server for receiving messages.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected SubscriberServiceGrpc.SubscriberServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<SubscriberServiceGrpc.SubscriberServiceStub>
-
subscribe
public io.grpc.stub.StreamObserver<SubscribeRequest> subscribe(io.grpc.stub.StreamObserver<SubscribeResponse> responseObserver) Establishes a stream with the server for receiving messages.
-