Package com.authzed.api.v1
Class WatchServiceGrpc.WatchServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<WatchServiceGrpc.WatchServiceStub>
com.authzed.api.v1.WatchServiceGrpc.WatchServiceStub
- Enclosing class:
- WatchServiceGrpc
public static final class WatchServiceGrpc.WatchServiceStub
extends io.grpc.stub.AbstractAsyncStub<WatchServiceGrpc.WatchServiceStub>
A stub to allow clients to do asynchronous rpc calls to service WatchService.
-
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 TypeMethodDescriptionprotected WatchServiceGrpc.WatchServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidwatch(WatchRequest request, io.grpc.stub.StreamObserver<WatchResponse> responseObserver) Watch returns a stream of events that occurred in the datastore in ascending timestamp order.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 WatchServiceGrpc.WatchServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<WatchServiceGrpc.WatchServiceStub>
-
watch
public void watch(WatchRequest request, io.grpc.stub.StreamObserver<WatchResponse> responseObserver) Watch returns a stream of events that occurred in the datastore in ascending timestamp order. The events can be relationship updates, schema updates, or checkpoints.
-