Package com.authzed.api.v1alpha1
Class WatchResourcesServiceGrpc.WatchResourcesServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<WatchResourcesServiceGrpc.WatchResourcesServiceStub>
com.authzed.api.v1alpha1.WatchResourcesServiceGrpc.WatchResourcesServiceStub
- Enclosing class:
- WatchResourcesServiceGrpc
public static final class WatchResourcesServiceGrpc.WatchResourcesServiceStub
extends io.grpc.stub.AbstractAsyncStub<WatchResourcesServiceGrpc.WatchResourcesServiceStub>
A stub to allow clients to do asynchronous rpc calls to service WatchResourcesService.
WatchResourcesService is used to receive a stream of updates for resources of a specific (resource type, permission, subject) combination.
-
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) void
watchResources
(WatchresourcesService.WatchResourcesRequest request, io.grpc.stub.StreamObserver<WatchresourcesService.WatchResourcesResponse> responseObserver) WatchResources initiates a watch for permission changes for the provided (resource type, permission, subject) pair.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected WatchResourcesServiceGrpc.WatchResourcesServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<WatchResourcesServiceGrpc.WatchResourcesServiceStub>
-
watchResources
public void watchResources(WatchresourcesService.WatchResourcesRequest request, io.grpc.stub.StreamObserver<WatchresourcesService.WatchResourcesResponse> responseObserver) WatchResources initiates a watch for permission changes for the provided (resource type, permission, subject) pair.
-