Class SubscriberServiceGrpc.SubscriberServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<SubscriberServiceGrpc.SubscriberServiceBlockingV2Stub>
com.google.cloud.pubsublite.proto.SubscriberServiceGrpc.SubscriberServiceBlockingV2Stub
- Enclosing class:
- SubscriberServiceGrpc
public static final class SubscriberServiceGrpc.SubscriberServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<SubscriberServiceGrpc.SubscriberServiceBlockingV2Stub>
A stub to allow clients to do synchronous 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.BlockingClientCall<SubscribeRequest,SubscribeResponse> Establishes a stream with the server for receiving messages.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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.SubscriberServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<SubscriberServiceGrpc.SubscriberServiceBlockingV2Stub>
-
subscribe
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public io.grpc.stub.BlockingClientCall<SubscribeRequest,SubscribeResponse> subscribe()Establishes a stream with the server for receiving messages.
-